문제

I am working on nokia asha s40 using nokia sdk2.0 and lwuit1.5.My problem is that when i use my app for some time it throw an error of out of memory error.so please suggest me how can manage run time memory.when an error comes that time free memory is approximately 3000-4000 bytes which not sufficient for perfrom any operation . So please suggest me how i can prevent this error.it is big issue in my app.

도움이 되었습니까?

해결책

It throws the error beacuse, you are using resources and not deallocating them. De allocate the resources which you are not using currently, like images and objects.

Example: dealloc(){

logoImg=null; de allocate here myObj=null; }

Hope this might help you.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top