I'm working on an optional plug-in for an app I've been working on.  The
app up to this point works fine on OS 3.0 and later.  With the plug-in
loaded, though, it's probably going to require more dynamic heap space
than that OS version provides.

What I'm wondering is how to guage the size of the dynamic heap, so I'll
know whether to try and load the plug-in.  My first thought was to check
the version and possibly the amount of memory in the device (would just be
a total of the sizes of all the heaps, right?).  I started remembering,
though, that it was possible for licensees to change the size of the
dynamic heap, so would getting the size of that heap be the better way?

This just adds one more reason for the optional thing to be optional... if
you can't use it, why have it around chewing up storage space? :-)

-----------------------------------------------------------------------
Brian Smith // avalon73 at arthurian dot nu // http://www.arthurian.nu/
Software Developer  //  Gamer  //   Webmaster  //  System Administrator
In the beginning there was nothing.  And the Lord said, "Let there be
 Light!"  And there was still nothing.  But you could see it.


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to