I am getting null pointer exception due to heap memory low in Nokia 3110c and 6300.
If I call the System.gc() manually then the null pointer exception is over but the application is running too slow.
I am first checking 500kb of available heap memory if not there then calling the gc manually.
Is there any other way to increase the heap memory?If yes then how?
Please suggest me what to do in this scenario...
Thanks & Regards,