How to Increase Heap memory in phoneME feature MR2
Hi, My Application requires 2 MB of heap memory, Can anyone tell me , how to increase the heap memory in PhoneME feature MR2,?
and also, i want to know, how much heap is used, and available during
i) running the whole application.
ii) while running the application, how much heap memory is allocated to creating and drawing images
Thanks
I have configured PhoneME MR2, and QT 4.2.0 on linux, and running my app, is there any way to monitor the network status, and memory status, Pls let me know
I am not sure how you can monitor network but you can monitor memory usage of the total system in linux using the following command
cat /proc/meminfo
This will also include your heap memory usage.






You can increase the heap size using -Xms option for the CVM.like CVM -Xms 10m Main
You can also try to set the GC parameters like -Xgc:youngGen=2M usually this value should be 1/8 of your total heap size(Give only integer values do not give any decimal values here). I also have another problem looks like -Xms option in not working correctly in phoneme. I need to look at how the VM args are being parsed.