Hello,

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.

For every photo the application runs through following loop

1. Create image provider
2. Create surface (named photo)
3. Render image provider to photo surface
4. Blit photo surface to primary surface
5. Release image provider and photo surface

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'm using the latest stable version (DirectFB 0.9.22) and I'm
appreciative for any help.

Best regards and thanks in advance

Michael


_______________________________________________
directfb-users mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to