• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Heap, Data space and Prog space !

 
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Author
Posts: 6055
8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic