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 / *1440 (-5)
  Re: Memory Usage
 
(...) Ok, thanks. I'll try everything else first, then try this if I get desperate. The main thing I hit a wall with was when I switched to floating-point, which increased my .lx filesize by about 2k, so if I go back to fixed-point, turn sound off (...) (26 years ago, 15-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: Memory Usage
 
(...) changing (...) place for (...) program for (...) optimized for (...) working for (...) I've further investigated and you can gain some more bytes compiling kernel (and your programs) with -Os option instead of -O2 (Makefile.common, COPT (...) (26 years ago, 15-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: Memory Usage
 
(...) Well, I was thinking along the lines of having gcc optimize my program for space instead of speed. Of course, I'd be better off if *I* optimized for space instead of speed, but it can't hurt to have the compiler working for me, if it's (...) (26 years ago, 15-Oct-00, to lugnet.robotics.rcx.legos)
 
  Re: Memory Usage
 
(...) itself in (...) allocate (...) annoying, (...) You can test memory left using the routine from Eddie: (URL) Anyway, my question is, how can I reduce memory usage? I think cutting (...) HOWTO, (...) that (...) a (...) in (...) process is (...) (...) (26 years ago, 15-Oct-00, to lugnet.robotics.rcx.legos)
 
  Memory Usage
 
Well, I've gone and run out of memory with my RCX. It manifested itself in a task that refused to run, presumably because the OS couldn't allocate enough memory for its stack. Took a while to track down and was annoying, but it was my own fault for (...) (26 years ago, 14-Oct-00, to lugnet.robotics.rcx.legos)


Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  All | Compact

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