At 10:41 PM -0400 4/25/02, Ted Lowery wrote: >I want to examine the size of my storage heap before I begin a large >data gathering process, since there is no reason to start the >process if it will run out of database storage along the way.
It sounds like you have some idea how much space you'll need before hand. Why not pre-allocate that space and then fill it up as you gather your data? If the pre-allocation fails, then you'll have the same answer as if you took your suggested approach. And pre-allocating has the benefit of making sure you'll still have room towards the end of your data gathering process (that is, nothing else will be able to come along and eat up the space you previously thought was there). -- Keith -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
