Insufficient heap - no solution?

"Daniel Mould" <dmould-rfXA6DBrycgqDJ6do+/[email protected]> Thu, 27 May 2004 09:22:53 -0700
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Hi,

I'm developing some Java apps for a TINI DS80C400 device. My program is
about 100Kb, and I have about 700Kb free memory. After stopping and
restarting the app about 5 times, I am unable to restart it again. I receive
the message:

Could not execute file: Insufficient heap

I have browsed through the mailing list archives and found some older
messages that indicate this problem is caused by heap fragmentation. The
solution provided is to run gc from the slush prompt, which will supposedly
coalesce the entire heap. If I run gc multiple times this will occasionally
work, but after a couple more restarts I am stuck with the "Insufficient
heap" message no matter what I do.

The "reboot -h" solution is quite tedious because I need to restart the app
many times a day during development. Is there a solution to this problem
other than rebooting, or are there any upcoming fixes planned?

Thanks,
Daniel


_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini