A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Java Micro Edition
Memory Usage Prob
Joined: May 20, 2005
Jul 08, 2005 16:23:00
I have click on the Enable Memory Monitor to look How much memory is my Game Using.
Now here is the Case i found i dont know why it happening.
When i run the game in the J2ME WTK (First Build and Then Run from the WTK it self)
Game uses maximum memorey 103k when i run the game.
Now after that I Package the game. and copy the .jar and .jad file in one folder on my desktop.
Now when i click on the .jad file. Both Memory Monitor and Emuators were open.
But this time It usues. 135K maximum memomry when i run the whole game.
The dirrence i found was in 2nd case VM internal Memory usage was more then the previous one. All the other things were same.
Any body can explaing me why this happens??
And also Plz tell me what should i consider my game size. 134k or 106k;
Thanks in advance
It is sorta covered in the
JavaRanch Style Guide
subject: Memory Usage Prob
How to update game demo
Java game error
ERROR while Running via OTA
java.lang.OutOfMemoryError: Java heap space
Library not detected in eclipse
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014