File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Heap, Data space and Prog space !

 
Sanjay Mistry
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have i85s Motorola J2ME compatible phone. It says something like,
Heap size 256K
Data space: 219K free
Prog space: 99K free.
Can anyone help me to understand, what is this Heap size, Data space and Prog space ?
I would appreciated if it someone can derive the analogy with regular PC !
Thanks.
 
Mark Herschberg
Sheriff
Posts: 6037
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I haven't worked with those phones yet, but I would guess, based on my general Java and J2ME knowledge, that...
Heap Space:
This is just like the regular Java heap. It tells you how much room your program has in which to run. This includes memory for instance of all classes, for exmaple, including Sun's classes.
Program Space:
How much room there is for installed programs (running out of this is like running out of room on your hard drive).
Data Space:
This is the one I'm least sure of. I would guess it's room for RMS files. (Again, like your hard drive, only here it's partitioned into programs and data.)

--Mark
 
Sanjay Mistry
Greenhorn
Posts: 24
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, I got answer from motorola site.
it says,
Data: refers to the memory used to store application data, such as image files.
Program: refers to the memory used to store application code.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic