#ff0000 9  2005 - #000655  ,  MIDlet-
#def   ,  -       .  ,      ,           .   ,  ,      MIDP          . 
  MIDP    : Program Memory, Heap  Persistent Storage.    .
Program Memory ( )
   MIDlet,       . MIDlet-    JAR .         MIDlet-.     JAR,      . ,  iDEN Update  Motorola     MIDlet,     50 kB;     Nokia 3410  30 kB. 
  ,  ,      JAR ,     , JAR       .    ,     MIDlet-. 
            .       ,   obfuscator.         ;    . 
    .    Wireless Toolkit,    ( )    res  . ,          .      ,      . 
The Heap ( )
     ,     ,    .         . 
   J2SE      . ,     . ,   MIDP  PalmOS      20 kB. 
         ,   totalMemory()  freeMemory()  java.lang.Runtime. ,          ,        ,    freeMemory(). 
  ,           . 
    . 
   .  ,         null. 
  OutOfMemoryErrors.      .     MIDlet-a     ,     . 
Persistent Storage ( )
        (   ,     ).  MIDP       Record Management System (RMS),        .     ()    javax.microedition.rms.RecordStore. 
  MIDP     8 kB.         .   MIDlet-     ,      . 
       openRecordStore()  ,    addRecord()   .    ,      RecordStoreFullException.  getSizeAvailable()   ,      ,   size() -    . 
 
    ,  .         .
     Jonathan Knudsen.
#0000ff : aRix