Re: Memory leak?

Shawn Silverman <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
This is because executing a command utilizes some memory, about 64 
bytes each time, as you can see.  If you were to keep doing this until 
memory decreased to a very small value, then you'd see a short pause, 
and all of a sudden the memory would increase again, due to the garbage 
collection.

Hope that clears things up.

Which web server are you running, by the way?

Regards,
	-Shawn

On 2-Apr-04, at 3:42 AM, Juha Sievi-Korte wrote:

>  Hi there. I've just managed to get Tinim400 up and running, and
> encountered a little bit strange thing. So is it just me or is there
> memory leak somewhere in TiniOS or Slush? Or is this supposed to be
> default behaviour for slush?
>
>  After a reboot, df shows Free RAM: 826080
>
>  And the size decreases all the time when i enter a command to a 
> prompt.
> Here's what happens with df:
>
> tini00d572 /> df
> Free RAM:     820288
> tini00d572 /> df
> Free RAM:     820224
> tini00d572 /> df
> Free RAM:     820160
> tini00d572 /> df
> Free RAM:     820096
> tini00d572 /> df
> Free RAM:     820032
> tini00d572 /> df
> Free RAM:     819968
>
>  And with webserver runnning for couple of days, there's only 200K of 
> free
> RAM left.

_______________________________________________
TINI mailing list
TINI-6tN4nzCoH/[email protected]
To UNSUBSCRIBE, edit your profile, or see list archives:
http://lists.dalsemi.com/mailman/listinfo/tini
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.