Try rewriting your app using straight C, or even better ASM 8-)
Regards,
Alan Ingleby
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:54126@palm-dev-forum...
>
> "Yoel Lanir" <[EMAIL PROTECTED]> wrote in message
> news:54111@palm-dev-forum...
> >
> > Hi all,
> >
> > My application does not have enough memory with devices with RAM size
> 1M.
> >
> > I use the MemHeapFreeBytes command in the beggining of my program
> (just
> > after the PilotMain) and I see that before doing anything I have just
> 18000
> > bytes of free place.
> >
> > can anyone tell me what can consume memory before the program starts,
> so
> > that I start my program with only 18K?
> >
> > I am writing in C++ with the PAF library and CW7, and I almost don't
> have
> > any global variables at all.
>
> C++ virtual tables take up heap space as does some constant data and the
> Palm OS stack.
>
> Why do you need to support 1MB devices -- anything with Palm OS 3.0 has
> at least 2MB, and the pre-3.0 device market share is pretty small.
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/