πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #18302

Re: I need help about Garbage Collector

#18302
From: Gerry Mantha
Date: Sat, 18 Jul 1998 00:00
26 lines
1545 bytes
Wowww, does this mean that a High Priority Thread is faster than a Low
Priority Thread?  William, I think you got proof there! ;-)


William Yu wrote in message <35AEA062.66F95FBA@Bigfoot.com>...
>FοΏ½bio Costa wrote:
>>
>> I need explicity code to garbage collector clear my objects from memory.
>
>Well, official you can use:
>
>  System.gc();
>
>Unfortunately, there is a design bug in JavaSoft's JVMs so the memory
>doesn't get freed to the OS. (Which in turn means the OS can't give this
>memory back to the JVM if required.)
>
>You can do a simple test to verify this. Write a loop that creates
>100,000 objects, frees the references, calls System.gc() and sleeps for
>a few seconds to allow gc() to work. If gc() worked as advertised, you
>would never get an out of memory error (the initial 100,000 objects must
>fit in available memory though).
>
>JavaSoft says they will fix this in starting at 1.2beta4 and perhaps
>backfix prior versions if they get a better handle on the whats and
>hows.
Technical Details
Message-ID: <6oper3$cbn3@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6ol371$8ld7@forums.borland.com> <35AEA062.66F95FBA@Bigfoot.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: f74b3,9b781c15268687d4
X-Google-Attributes: gidf74b3,public
From: "Gerry Mantha" <gmantha@home.com>
Subject: Re: I need help about Garbage Collector
Date: 1998/07/18
Message-ID: <6oper3$cbn3@forums.borland.com>
X-Deja-AN: 372581763
References: <6ol371$8ld7@forums.borland.com> <35AEA062.66F95FBA@Bigfoot.com>
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.1
Organization: QTECH Hybrid Systems Inc.
Newsgroups: borland.public.jbuilder.java.language