I am doing firsts tests with DFB, and am a bit worried about memory
consumption. I am pretty sure this is PEBKAC, and would appreciate a
couple of hints as to how to do things better.
I am doing my first explorations on a netbook running Ubuntu Lucid Lynx.
I am using directfb from the repositories.
Running pmap on the tutorial at
http://directfb.org/docs/DirectFB_Tutorials/simple.html
I see
...
00ed6000 80K r-x-- /usr/lib/libdirect-1.2.so.0.8.0
00eea000 4K r---- /usr/lib/libdirect-1.2.so.0.8.0
00eeb000 4K rw--- /usr/lib/libdirect-1.2.so.0.8.0
08048000 4K r-x-- /tmp/a.out
08049000 4K r---- /tmp/a.out
0804a000 4K rw--- /tmp/a.out
09a01000 132K rw--- [ anon ]
b0670000 4K ----- [ anon ]
b0671000 8192K rw--- [ anon ]
b0e71000 4K ----- [ anon ]
b0e72000 8192K rw--- [ anon ]
b1672000 4K ----- [ anon ]
b1673000 8192K rw--- [ anon ]
b1e73000 4K ----- [ anon ]
b1e74000 8192K rw--- [ anon ]
b6e7d000 2400K rw-s- /dev/fb0
b70d5000 4K ----- [ anon ]
b70d6000 8204K rw--- [ anon ]
b78ec000 8K rw--- [ anon ]
bfca3000 84K rw--- [ stack ]
total 46184K
My question is: what are all those 8 mb blocks of r/w memory? Is it
possible to configure DFB to not use so much RAM?
We will eventually be targetting a memory constrained device, so that
40+ mb for an essentially empty app means that DFB will likely not be
usable.
Thanks
Miguel
_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users