Last week, we had the author of TDD for a Shopping Website LiveProject. Friday at 11am Ranch time, Steven Solomon will be hosting a live TDD session just for us. See for the agenda and registration link
  • 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:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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.
 
Whatever you say buddy! And I believe this tiny ad too:
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic