Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ipe 7.2.30 memory leak when using graphicx \includegraphics #570

Open
lkschu opened this issue Jan 25, 2025 · 0 comments
Open

Ipe 7.2.30 memory leak when using graphicx \includegraphics #570

lkschu opened this issue Jan 25, 2025 · 0 comments

Comments

@lkschu
Copy link

lkschu commented Jan 25, 2025

System

  • Ipe 7.2.30
  • Arch Linux

Steps to reproduce

  • New document with \usepackage{graphicx} in the latex preamble
  • Make a paragraph with \includegraphics{path/to/your/image}. The image should be a PNG or JPG (not PDF) and should have a decent size, like 4000px x 4000px, so the leak is faster noticeable. It will, however, work with any size.
  • Now add a new page and jump back and forth, alternatively save the document multiple times. RAM consumption will increase rapidly (100s of MB per step for a larger image)
  • The memory is only released when Ipe is closed or killed. Switching to another document does not free the allocated memory
  • The huge amount of allocated memory also makes Ipe sluggish when scrolling through pages

EDIT: Moving the page by scrolling with the mouse wheel or by pressing the middle mouse button also causes the memory leak if there is a graphic with \includegraphics{} on the page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant