This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv 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 REST with Spring (video course) this week in the Spring 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
It's not a secret anymore!