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 / 1338
1337  |  1339
Subject: 
Re: dont't fear the reaper
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Tue, 1 Aug 2000 20:48:57 GMT
Viewed: 
1451 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...

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



Message has 2 Replies:
  Re: dont't fear the reaper
 
(...) Jeeek. That did it, thank you. Got the new tm.c and now it all works. Mike (24 years ago, 1-Aug-00, to lugnet.robotics.rcx.legos)
  LNP Addressing Scheme
 
Hi All, I've been playing around with LNP's logical layer and now want to use the addressing layer to enable communication with specific destination hosts (and ports) for my project: (URL) having a difficulty though. I understand that by changing (...) (24 years ago, 5-Aug-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: dont't fear the reaper
 
(...) 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 (...) (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