To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.javaOpen lugnet.robotics.rcx.java in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / Java / 51
  Garbage Collection
 
I'm a tad fuzzy on working without GC. If I create objects in an inner loop, is that memory lost? Will I not hemorrhage memory like a sieve? (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.java)
 
  Re: Garbage Collection
 
Hi Chris, Hemorrhage you will. Instead of creating new objects in a loop, reuse existing objects. (This is a good move anyhow to improve the performance of your application.) You may have to change some of your own APIs to accomplish this, but it (...) (24 years ago, 1-Mar-01, to lugnet.robotics.rcx.java)

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