wood burning stoves 2.0*
The moose likes Product and Other Certifications and the fly likes About Memeory Budget Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "About Memeory Budget" Watch "About Memeory Budget" New topic
Author

About Memeory Budget

Song Lixin
Greenhorn

Joined: Nov 11, 2003
Posts: 19
Hello,
In CLDC 1.1:
The CLDC Specification assumes that:
■ At least 160 kilobytes of non-volatile1 memory
machine and CLDC libraries.
■ At least 32 kilobytes of volatile memory2
runtime (for example, the object heap.)

In MIDP 2.0:
256 kilobytes of non-volatile memory for the MIDP implementation, beyond what's required for CLDC.
8 kilobytes of non-volatile memory for application-created persistent data
128 kilobytes of volatile memory for the Java runtime (e.g., the Java heap)


Does this means that for a MID that implements cldc1.1+midp2.0 will at least have:

160k+256K non-volatile memory and
8 + 128 k volatile memory

right?


SCJP1.2<br />SCJD<br />SCMAD
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

No. MIDP 2.0 and CLDC 1.0/1.1 are complimentary, not additive, requirements. MIDP 2.0 requires CLDC 1.0 or 1.1, and so the MIDP 2.0 requirements are in lieu of those required for the CLDC.


Theodore Jonathan Casser
SCJP/SCSNI/SCBCD/SCWCD/SCDJWS/SCMAD/SCEA/MCTS/MCPD... and so many more letters than you can shake a stick at!
Eduardo Marques
Ranch Hand

Joined: Feb 19, 2005
Posts: 231
"non-volatile memory for application-created persistent data"
refers to RMS storage size.


Eduardo Marques
Get ready for your SCMAD certification at J2MECertificate.com - See what all the buzz is about ...
Song Lixin
Greenhorn

Joined: Nov 11, 2003
Posts: 19
So:
Min non-volatile memory : 160k fou CLDC, 256k for MIDP, 8k for RMS
Min volatile memory: 128 k volatile memory

I still has not read JTWI so it's only mean for CLDC + MIDP.
Theodore Casser
Ranch Hand

Joined: Mar 14, 2001
Posts: 1902

Originally posted by Song Lixin:
So:
Min non-volatile memory : 160k fou CLDC, 256k for MIDP, 8k for RMS
Min volatile memory: 128 k volatile memory

I still has not read JTWI so it's only mean for CLDC + MIDP.


JTWI is just a specification to "standardize" how CLDC and MIDP and other Java ME technologies are implemented in the mobile industry. (Basically, in other words, any JTWI-compliant device should have at least 256k of non-volatile memory and 128k of volatile, etc., since MIDP enhances CLDC's requirements...)
Ko Ko Naing
Ranch Hand

Joined: Jun 08, 2002
Posts: 3178
Hi Song,
The memory information are just for the implementers to follow while they are implementating a device. In the other words, those limits must be satisfied when someone claims that their implementation is CLDC1.1- or MIDP2.0-compliant.

But they are a must for an exam taker to know.


Co-author of SCMAD Exam Guide, Author of JMADPlus
SCJP1.2, CCNA, SCWCD1.4, SCBCD1.3, SCMAD1.0, SCJA1.0, SCJP6.0
Song Lixin
Greenhorn

Joined: Nov 11, 2003
Posts: 19
Thx a lot! All!
I have read all the spec and APIs and also Sathy's notes.

I will take the exam soon.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: About Memeory Budget