Large RAM consumption

Home Forums cherrytree Large RAM consumption

This topic contains 1 reply, has 2 voices, and was last updated by  acry 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #124980

    electrocat
    Member

    I usually use several files. One of them is always open, and the other files I open from time to time. When I open the file, the process allocated RAM increases. When the file is closed, the memory is not released while at least one file is open. After a while, the process begins to occupy more than 1GB.

    Is this a normal behavior or a memory leak?

    ver. 0.38.5 (Windows 10 and Linux Mint 19)

    #125066

    acry
    Member

    Since nowadays most programs are “piglets” when it come to hardware-efficiency, I don’t really care about those resources than I used to be. I can’t reproduce the problem.
    Try to close all files and see if it is still an issue.

    Do you use a lot of Images in your auxiliary CherryTree-Files?
    Without knowing the source in Detail, I think that pixmaps and pixbuffer should be deleted if they are not needed anymore. Especially in cases like:

    pixbuf = gtk.gdk.pixbuf_new_from_file(SOME_IMAGE)
    pixmap, mask = pixbuf.render_pixmap_and_mask()
    del pixbuf

    So it may be possible that memory is “leaked” while a CT process hangs around.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.