Hello,
My application .app file is 272KBytes and 16.4KBytes .rsc file
Testing it on Nokia 6260 and latest LowMem version.
Default settings for LowMem: 22528 min free heap, 1024 increase
I got 2 crashes:
22528,KERN-EXEC,3
23552,KERN-EXEC,3
24576,Kill,-4
.....
Now testing application with 24,9KBytes app file and 476 bytes .rsc file
22528,Kill,-4
23552,Kill,-4
24576,Kill,-4
It is running correct.
First application (272KBytes) doesn't do anything in AppUi::ConstructL()
Resource file doent contain anything too, only one menu with Exit command.
AppUi::ConstructL()
{
BaseConstructL();
return;
}
RESOURCE EIK_APP_INFO
{
menubar = r_helloworldplus_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
RESOURCE MENU_BAR r_helloworldplus_menubar
{
titles =
{
MENU_TITLE {menu_pane = r_helloworldplus_menu;}
};
}
RESOURCE MENU_PANE r_helloworldplus_menu
{
items =
{
// added the new Options menu command here
MENU_ITEM
{
command = EEikCmdExit;
txt = "Exit";
}
};
}
What is LowMem doing if I setup Min free heap to 1024 KBytes?
Simple App is crashing between 1024 - 15360 and no crash 16384- 17408 and
crash again 18432 - 21504.
Requested free bytes,Exit category,Exit reason
1024,KERN-EXEC,3
2048,KERN-EXEC,3
3072,KERN-EXEC,3
4096,KERN-EXEC,3
5120,KERN-EXEC,3
6144,KERN-EXEC,3
7168,KERN-EXEC,3
8192,KERN-EXEC,3
9216,KERN-EXEC,3
10240,KERN-EXEC,3
11264,KERN-EXEC,3
12288,KERN-EXEC,3
13312,KERN-EXEC,3
14336,KERN-EXEC,3
15360,KERN-EXEC,3
16384,Kill,-4
17408,Kill,-4
18432,KERN-EXEC,3
19456,KERN-EXEC,3
20480,KERN-EXEC,3
21504,KERN-EXEC,3
22528,Kill,-4
23552,Kill,-4
24576,Kill,-4
25600,Kill,-4
26624,Kill,-4
27648,Kill,-4
28672,Kill,-4
29696,Kill,-4
30720,Kill,-4
31744,Kill,-4
32768,Kill,0
I'm completely lost what is LowMem testing at startup.
Any comments is very appreciate.
Best Regards,
Valentin Kalinin