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 / 52
51  |  53
Subject: 
Re: Garbage Collection
Newsgroups: 
lugnet.robotics.rcx.java
Date: 
Thu, 1 Mar 2001 18:46:51 GMT
Viewed: 
2518 times
  
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 shouldn't be too painful.

Regards,
Jonathan

Chris wolcott wrote:

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?



Message is in Reply To:
  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)

2 Messages in This Thread:

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

Custom Search

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