Re: Heap problem
Cliff Brake <cbrake.list-Bpo/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Organization | FOM Systems |
| Message-ID | <[email protected]> |
Ian, I seem to notice "Insufficient heap" problem occurs after a lot of development where I am continuously ftp'ing over new images -- wonder if a lot of filesystem activity fragments the heap. I am building the capability into our Host side application to automatically load the program into the TINI device and start it (for upgrade/re-init capability). The first step of this process is to run "reboot -a". Cliff On Thursday 26 February 2004 5:30 pm, Ian Armitage wrote: > Hi Cliff, > It finally happened again and I can confirm that a reboot -h, which clears > the heap only, fixes the problem. > > The question really is why does the TINI get into this state in the first > place. > > Ian > > -----Original Message----- > From: Cliff Brake [mailto:cbrake.list-Bpo/[email protected]] > Sent: Tuesday, February 24, 2004 12:22 PM > To: Ian Armitage; tini-6tN4nzCoH/[email protected] > Cc: Tom Naylor > Subject: Re: [TINI]Heap problem > > > Have you tried "reboot -a" which will clear the heap and system memory on > reboot? > > Cliff > > ============================== > FOM Systems > http://fomsystems.com > > On Tuesday 24 February 2004 2:00 pm, Ian Armitage wrote: > > Hi, > > I've been experiencing a problem in running my app after ftp'ing a new > > version. Typically after ftp'ing my app (it's large, about 166K) I try > > and run it from a telnet session and I get the following error: > > > > Could not execute file: Insufficient heap > > > > Usually, I reboot and I can then run my app. Sometimes even after a > > reboot I still get the error. When that happens the only way to recover > > is to use JavaKit to reload the tini firmware and then ftp all my files > > back on. > > > > This concerns me a lot since once there are TINIs in the field there will > > be a danger that an upgrade will break them causing the truck to roll > > out. > > > > Ian > > > > _______________________________________________ > > TINI mailing list > > TINI-6tN4nzCoH/[email protected] > > To UNSUBSCRIBE, edit your profile, or see list archives: > > http://lists.dalsemi.com/mailman/listinfo/tini _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini