> I've got a project that, when I try to work with it, gives me
>continual memory errors, that all say:
>
> "Memory is getting low. Try closing some windows, or
>give CodeWarrior a larger memory partition."
>
>It will happen when I open a file, but not ALL the time. It's only
>with this project, and I've give CodeWarrior 20 megs, so I really
>don't know what the problem is. I've tried creating a new project and
>re-adding all the files, to no avail.
I have been seeing the same thing for years, but never on opening a file,
only after I have been running CW for a while and probably gone through
20 or 30 compile/link cycles. I have always assumed there's just a memory
leak in CW somewhere. For me, simply exiting and restarting CW when I get
that message always makes the problem go away.
Giving an app more memory won't necessarily help (despite the message),
since the internal software may simply allocate a buffer of size X for
some function, and it's that buffer which is gradually being "leaked",
not necessarily overall memory.
However if you can't open the project at all after quitting CW and
restarting, then of course nothing I've said is of any help.
Steve Patt
President, Stevens Creek Software
http://www.stevenscreek.com/palm
Best PQA ("ePQA"), PalmSource 99
Best Application ("PizzaScan"), Palm Developer's Conference 1998
First printing software for the Palm - September, 1997