I'm writing a small application for an IR controlled photo show. All
works fine, but the memory usage is increasing with every displayed
photo. When I run a large photo show sooner or later the computer hangs,
because the OS starts to swap the memory.
Sounds strange. Assuming that you use jpegs - you could try to view only
png and gif and see what happens. If you application does not leak
afterwards, there might be a bug in the jpeg provider.
It seems to me, that the release function doesn't free the allocated
memory correctly. I also took a look at the DFBSee program. I observed
the same behavior. When viewing a lot of pictures, the memory usage is
increasing dramatically.
I am not 100% sure but I think that DFBSee doesnt release the surface to cache
everything in memory. So this is not a good test.
_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users