This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java Micro Edition and the fly likes heap question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "heap question" Watch "heap question" New topic
Author

heap question

Sam lx
Greenhorn

Joined: Nov 05, 2004
Posts: 19
I have two questions:
1.When an application is activated, where do the midlet classes stored? Are they stored in the heap memory or in a separated program memory?

2.If the application is stored in the heap memory, how do I know how much of the heap memory is used for the byte code of the application?

Any suggestion is so appreciated.

Thanks a lot.
Sam lx
Greenhorn

Joined: Nov 05, 2004
Posts: 19
help
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Heap is dynamic memory. The application is not stored in the heap. The runtime objects are.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: heap question
 
Similar Threads
java compiler issues
Memory question
Memory question
what is the default size of java heap
Static Fields and shared memory