[HTC Aria Android Development] munjeni:
Ok s0be. I found something about free memory. Memory is constantly at ~160m while trying a lot of memory killers, it seem memory could not be killed. But one strange thing I found after opening settings menu and after back to home screen memory is freed :eek: Allso interested thing is after switching from setting menu to home screen and going to app menu, there is screen freze (only one time). Logcat after switching from settings to home screen and thing about memory:

I/ActivityManager( 188): START {act=android.settings.SETTINGS flg=0x10200000 cm
p=com.android.settings/.Settings} from pid 3385
D/dalvikvm( 188): GC_FOR_ALLOC freed 345K, 39% free 7089K/11463K, paused 124ms
W/System.err( 5465): Removed 2131231230
W/System.err( 5465): Removed 2131231240
D/memalloc( 125): /dev/pmem: Allocated buffer base:0x414e0000 size:614400 offse
t:1126400 fd:57
D/memalloc( 188): /dev/pmem: Mapped buffer base:0x4c468000 size:1740800 offset:
1126400 fd:246
W/System.err( 5465): Removed 2131231241
W/ResourceType( 188): Skipping entry 0x7f04001d in package table 0 because it i
s not complex!
W/ResourceType( 188): Skipping entry 0x7f040020 in package table 0 because it i
s not complex!
D/memalloc( 125): /dev/pmem: Allocated buffer base:0x414e0000 size:614400 offse
t:2990080 fd:60
D/memalloc( 5465): /dev/pmem: Mapped buffer base:0x48cd8000 size:3604480 offset:
2990080 fd:50
I/Process ( 188): Sending signal. PID: 5465 SIG: 3
I/dalvikvm( 5465): threadid=3: reacting to signal 3
D/memalloc( 3385): /dev/pmem: Unmapping buffer base:0x4c654000 size:8306688 offs
et:8060928
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x41c90000 size:245760 offset:
8060928 fd:48
D/memalloc( 3385): /dev/pmem: Unmapping buffer base:0x4a150000 size:245760 offse
t:0
I/dalvikvm( 5465): Wrote stack traces to '/data/anr/traces.txt'
D/OpenGLRenderer( 3385): Flushing caches (mode 1)
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x414e0000 size:245760 offset:
0 fd:54
D/OpenGLRenderer( 3385): Flushing caches (mode 0)
D/memalloc( 3385): /dev/pmem: Unmapping buffer base:0x4a8f4000 size:2416640 offs
et:1802240
D/memalloc( 3385): /dev/pmem: Unmapping buffer base:0x4b7ac000 size:7372800 offs
et:6758400
D/memalloc( 3385): /dev/pmem: Unmapping buffer base:0x4beb4000 size:7987200 offs
et:7372800
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x41698000 size:614400 offset:
1802240 fd:33
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x41be8000 size:614400 offset:
7372800 fd:39
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x41b52000 size:614400 offset:
6758400 fd:45
D/memalloc( 125): /dev/pmem: Allocated buffer base:0x414e0000 size:20480 offset
:8007680 fd:33
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x41c88000 size:32768 offset:8
028160 fd:42
D/memalloc( 306): /dev/pmem: Unmapping buffer base:0x486e0000 size:8060928 offs
et:8028160
D/memalloc( 306): /dev/pmem: Mapped buffer base:0x486e0000 size:8028160 offset:
8007680 fd:61
D/memalloc( 125): /dev/pmem: Allocated buffer base:0x414e0000 size:614400 offse
t:1740800 fd:39
D/memalloc( 5465): /dev/pmem: Mapped buffer base:0x49240000 size:2355200 offset:
1740800 fd:53
I/ActivityManager( 188): Displayed com.android.settings/.Settings: +980ms
I/ggheart ( 3385): onStop
D/OpenGLRenderer( 3385): Flushing caches (mode 1)
D/memalloc( 125): /dev/pmem: Freeing buffer base:0x415f3000 size:614400 offset:
1126400 fd:57
D/memalloc( 188): /dev/pmem: Unmapping buffer base:0x4c468000 size:1740800 offs
et:1126400
D/memalloc( 125): /dev/pmem: Allocated buffer base:0x414e0000 size:614400 offse
t:1126400 fd:42
D/memalloc( 5465): /dev/pmem: Mapped buffer base:0x49480000 size:1740800 offset:
1126400 fd:56
D/dalvikvm( 188): GC_CONCURRENT freed 1156K, 39% free 7038K/11463K, paused 12ms
+9ms
^C

strange line is:

W/System.err( 5465): Removed 2131231230

From which part of file/code that mesage is generated? Its memory leak?

And interested thing after I seen freed memory is this line:

D/OpenGLRenderer( 3385): Flushing caches (mode 1)

But again when I use an memory killer app I got message memory is recicled for ~30mb and memory is again full and could not be killed... so hmmm framework bug? Or maybe an speen lock somewhere around cause app kiler to stop killing memory... do you have idea? Absolutely problem is build with OpenGLRenderer, I tried and tested build without enabled OpenGLRenderer and realy have not not not any force close, but its not smooth like with enabled OpenGLRenderer! Have no idea if bug is kernel side or android side :confused: