Unless you have applied a patch to the memory handling (the free function iirc) you will probably be suffering from the bug that shows up through use of String. Avoid using String and stick to char and you wil avoid the memory handling bug. That said, there is limited memory as Nick has reffered you to.
Paul