maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Qt, autobuilder and ram usage (https://talk.maemo.org/showthread.php?t=76465)

sakya 2011-09-11 13:53

Qt, autobuilder and ram usage
 
Hi! :)

I see a strange ram usage of my qt application (QtLockscreen) when it is built with the autobuilder.

I tested the ram usage using pmap and I'm gettin this result:
-The app built with QtCreator has a total usage of:
Code:

mapped: 44112K
-The app built by the autobuilder has a total usage of:
Code:

mapped: 51832K
I checked the pmap output of the two programs and the difference seems to be here:

QtCreator:
Code:

424dc000      52K rw-p    [ anon ]
42607000    752K rw-p    [ anon ]
426c3000      4K ---p    [ anon ]
426c4000    2516K rw-p    [ anon ]

Autobuilder:
Code:

42607000    752K rw-p    [ anon ]
426c3000      4K ---p    [ anon ]
426c4000    8188K rw-p    [ anon ]
42ff5000    752K rw-p    [ anon ]

Also, the autobuilder output has an additional line (not present in the QtCreator version):
Code:

424dc000    752K rw-s  /SYSV00000000
does anyone know why there's such a big difference, and if can be "fixed"?


All times are GMT. The time now is 13:34.

vBulletin® Version 3.8.8