aspose file tools*
The moose likes JDBC and the fly likes doubt about garbage collection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "doubt about garbage collection" Watch "doubt about garbage collection" New topic
Author

doubt about garbage collection

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hi friends!
i got one doubt regarding garbage collection.
when actually garbage collection takes place?is it just sporadically (OR) when no references to th objects exists.
(OR) when memory is full.
pls give the reply ASAP.
venkatg
Greenhorn

Joined: Sep 07, 2000
Posts: 7
Originally posted by bkkumar:
hi friends!
i got one doubt regarding garbage collection.
when actually garbage collection takes place?is it just sporadically (OR) when no references to th objects exists.
(OR) when memory is full.
pls give the reply ASAP.

hi bkkumar
Its a good question,
Actually garbage collection takes place when no references
to that specific object exists.
By that it releases the memory by which performance will also
increases.
thanks
Any one can throw a light on my explanation
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
You are correct... But, there is more to it...
Please search the Programmers Certification Form for more information if desired.
Monty6
Ray Marsh
Ranch Hand

Joined: Jan 12, 2000
Posts: 458
I'm moving this to a more appropriate forum: Java in General (Beginners)


Anxiety does not empty tomorrow of its sorrows, but only empties today of its strength. – Charles Spurgeon
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: doubt about garbage collection