To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 1336
1335  |  1337
Subject: 
Re: dont't fear the reaper
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 1 Aug 2000 18:16:26 GMT
Viewed: 
1405 times
  
This change is correct, although it will not work by itself. Using
only this all memory will be freed when the RCX is powered off, including
program memory. To work correctly another change to tm.c is necessary,
so memory allocated by kernel processes is not freed.


Actually, I'm using 0.2.4, last downloadable version. With this, the memory
eating problem is solved with my stated patch. Might be, that the new version
has the tm.c changes? (I just press "run" to stop my program, then "run" to
start it again, and it counts to 16 any time)

But I have found annother problem: If I put the RCX aside and try to start the
program the next day, it doesn't count to 1. It seems, that it can't allocate
1k of memory. Seems there is a memory leak or something. Today I have reloaded
the test program on a freshly installed legOS, didn't start it and wait to see
what's going on tomorrow...

Bye, Mike



Message has 2 Replies:
  Re: dont't fear the reaper
 
Michael and co.: If you want to do this type of testing, but don't want to mess with CVS, sourceforge automatically creates daily tarballs of the CVS tree, so that you can get a nearly completely up-to-date version of legOS from CVS without having (...) (24 years ago, 1-Aug-00, to lugnet.robotics.rcx.legos)
  Re: dont't fear the reaper
 
(...) You turned it off in between and by only having your mm.c patch zapped parts of legOS own memory. No program will survive an off/on with only your patch in 0.2.4. Eddie C. Dost ecd@skynet.be (24 years ago, 1-Aug-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: dont't fear the reaper
 
(...) This change is correct, although it will not work by itself. Using only this all memory will be freed when the RCX is powered off, including program memory. To work correctly another change to tm.c is necessary, so memory allocated by kernel (...) (24 years ago, 1-Aug-00, to lugnet.robotics.rcx.legos)

10 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR