Actually, it *is* technically possible to allocate and manage this memory if
it is available.

All Mem functions work with Long types and for a reason: the limitation of
allocating 64k is a high-level limit. The low-level memory functions of the
OS allow allocating bigger chunks...but it's your risk and responsibility to
manage them.

Bobby

-----Original Message-----
[snip]

> but when I tried to decompress the 14400 records, it crashes.

14400 records...  When pz compress/decompress, it allocates an
array of RecordEntryType (8 bytes) or RsrcEntryType (10 bytes)
in dynamic heap.  If it's a data database, 8 * 14400 = 112 kB,
which exceeds 64kB limit of a memory chunk...


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

Reply via email to