aspose file tools*
The moose likes Java Micro Edition and the fly likes Memory Usage Prob Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Memory Usage Prob" Watch "Memory Usage Prob" New topic
Author

Memory Usage Prob

Ronakkumar Patel
Greenhorn

Joined: May 20, 2005
Posts: 14
Hi,

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