On 01.08.01, 22:27:37, Michael Nordstr�m wrote:
> 
> Palm OS divides the available RAM into two logical areas: dynamic RAM
> and storage RAM. Dynamic RAM is used for temporary allocations, and
> can be compared to the RAM you have in a desktop system. The rest of
> the available RAM is used as storage RAM and is analogous to disk
> storage on a desktop system.
> 
> The size of the dynamic RAM (also called dynamic heap) depends on the
> OS version and the available physical RAM. I don't know how big the
> dynamic heap would be on your Visor, but either way the function used

According to some docs I found the heap on the Visor Platinum running
PalmOS 3.5 is 256k.

> for the image handling, WinCreateOffscreenWindow, will not be able to
> handle images larger than 64k. According to the Palm OS documentation
> this function should return an error code if it fails to allocate
> enough memory for the image, but if you try to create an offscreen
> window that is larger than 64k it will crash the device.

I found that the crashes I got were with an old version of the plucker
database which included images of up to 640x480x4, which is decidedly
larger than 64k :)

With a new version with 320x240x4 images all seems to work fine.

Sorry for causing unneccessary headaches.

> 
> /Mike
> 

-- 
Bernd Sieker

NetBSD: Perpetual performance!
                -- Lars-Johan Liman

Reply via email to