• Post Reply Bookmark Topic Watch Topic
  • New Topic

heap question

 
Sam lx
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
help
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Heap is dynamic memory. The application is not stored in the heap. The runtime objects are.
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!