Re: Big memory leak????
Bryan Armstrong <bryan.armstrong-6tN4nzCoH/[email protected]>
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <[email protected]> |
Cepreeb, What TINI firmware version are you using? What hardware are you using? What external devices are attached? What code is in your critical path and how does it handle memory allocation? What is the smallest amount of code that reproduces the problem? Once more is known about the setup I may understand what is happening. -Bryan Сергеев Василий wrote: > 1. this application sometimes hang-up. I can see it from oscillograph > (because my device set off the ExtInt when I read all data from it (48 > byte)). It looks like sometimes ExternalInterruptEvent dont see that > there is a signal on ExtInt.It continue to hang-up for 300 ms (maybe a > little more). So I dont see one chunk of data. Why??? > 2. when I begin to send all 48 bytes to CANBus (it happens in > ExternalInterruptEvent), application begin to hanging-up very often. Why??? > 3. This is the most important question. > After starting the application I watch the size of free RAM by console > command STATS. Before starting the programm the size of free RAM is ~300 > Kbytes. After I start it the size is decreasing very fast and in 10-20 > seconds it reach 50-60 Kbytes. After that it goes up-down. But sometimes > the size is less than 10 Kbytes; and when there is no free RAM, my > programm is terminated :((((( Why my app use so much memory??? > Maybe it depends on the problem from first question??? > > Regards, > Vasiliy -- -- Bryan Armstrong bryan.armstrong-6tN4nzCoH/[email protected] _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini