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.
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()
So it may be possible that memory is “leaked” while a CT process hangs around.