RE: Memory leak?

"Kelly Smith" <[email protected]>
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <[email protected]>
Dear Juha - All that you see here is normal.  Slush will "kick-in" garbage
collection (GC), when RAM falls below 64KB (or if you do GC, yourself in an
application.  As for the "webserver running", you are probably collecting
data in two log files; the server and transfer log (which can usually be
deleted "automagically" or truncated when they "grow" too large. Also watch
out for memory gobbeling strings usage...

I can highly recommend Shawn Silverman's Tynamo for web-server applications
at:

http://tynamo.qindesign.com/

I have a Systronix TStik running Tynamo now for a month doing various things
at my house (temperature monitoring, doors and windows open/closed,
humidity, lamp control, etc., with various 1-Wire devices from both AAG
Electronica (http://www.aagelectronica.com/aag/index.html), and Systronix
(http://www.systronix.com).  The Systronix TStik is VERY reliable as shown
below, without a "hickup", and runs really fast!

System Status
Shell is slushLite/1.0
Firmware is TINI OS 1.12
Hardware is <unknown>
S/N 835E7000C232AA89
Uptime is 48d, 00:43:03

Total memory 137216
Free memory 137024

Server uptime is 29d, 00:29:50
Server is Tynamo-TINI/1.0-RC4

----------------------------------------------------------------------------
----

This page was generated on Fri Apr 02 15:50:08 GMT 2004.

So, to conclude; You DON'T HAVE A MEMORY LEAK.

Best regards, Kelly Smith

-----Original Message-----
From: tini-admin-6tN4nzCoH/[email protected] [mailto:[email protected]]On Behalf Of
Juha Sievi-Korte
Sent: Friday, April 02, 2004 1:43 AM
To: tini-6tN4nzCoH/[email protected]
Subject: [TINI]Memory leak?


 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.

--
    _
   | | "... Think about all the positive sides in life, they
 _ | |_   _  _   _  ___   never last forever ... (c)Sentenced
| || | | | || |_| || O |+-+ AMD Duron 1300MHz & ATI Radeon +--+
|    | |_| || | | || | ||  http://students.oamk.fi/~sijuma00  |
========================|  E-mail: [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


_______________________________________________
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.