aspose file tools
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 Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "heap question" Watch "heap question" New topic

heap question

Sam lx

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

Joined: Nov 05, 2004
Posts: 19
Michael Yuan
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:
I agree. Here's the link:
subject: heap question