Skip to content

Ipe 7.2.30 memory leak when using graphicx \includegraphics #570

@lkschu

Description

@lkschu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions