Re: garbage collection

2002-08-20 Thread Wilhelm *Rafial* Fitzpatrick
the garbage collector. >Does anyone knows a way to avoid this situation? Fix your code to remove memory leaks. Just because java has garbage collection does not mean programs can't have memory leaks. If you keep a reference to an object around, perhaps in a cache or static variable some p

RE: garbage collection

2002-08-20 Thread William Quan
Title: RE: garbage collection Alex, IMHO it appears you have a memory leak that is not necessarily a JVM issue. But while we are on the GC topic: Does the 1.4 JVM 'stop the world', or pause *all* threads while it does a GC. This tends to have a negative impact on real-time Ja

garbage collection

2002-08-20 Thread Alexandre Goncalves
hi. We're having a problem with garbage collection in our web site. We're using JRun with j2sdk 1.4.0 running on a linux machine. The problem is that after we launch the jrun server the memory starts to increase up to the maximum heap size defined (1G in our case). When it re

garbage collection...

2002-03-28 Thread Partha Saradhi
hi, I've problem with garbage collection on my linux machine. Though there are no references pointing to objects in my program, the memory is not getting released by the JVM on linux machine. When i run the same program on Solaris machine or WindowsNT machine, the unused memo

Re: Thread and Garbage collection

2000-05-20 Thread Christopher Hinds
s  *INTERRUPTED* flag in the Thread object, The use of the an instance variable is redundant since the thread already has a flag designed for that perpose." I also think this is a feasible way. Because I think the root for garbage collection are implementation-dependant. Depending on th

Re: Thread and Garbage collection

2000-05-20 Thread Christopher Smith
signed for that perpose." > > I also think this is a feasible way. > Because I think the root for garbage collection are > implementation-dependant. > Depending on the implementation and support for native methods, > roots for garbage collection may be contained in: >

Re: Thread and Garbage collection

2000-05-17 Thread yangyuex
Thanks very much! What's your mean: "which BTW sets  *INTERRUPTED* flag in the Thread object, The use of the an instance variable is redundant since the thread already has a flag designed for that perpose." I also think this is a feasible way. Because I think the root for garbage

Re: Thread and Garbage collection

2000-05-17 Thread Christopher Hinds
resources? That's to say, if I will not need one thread, whether I must stop or destory it explictly or just remove it from hashtable for garbage collection? I am not sure how JVM schedules multiple threads. Thanks very much! yangyuexiang

Re: Thread and Garbage collection

2000-05-17 Thread Christopher Hinds
ly or just remove it from hashtable for garbage collection? I am not sure how JVM schedules multiple threads. Thanks very much! yangyuexiang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe

Re: Thread and Garbage collection

2000-05-16 Thread Christopher Smith
d, whether I must stop or > destory it explictly or > just remove it from hashtable for garbage collection? > I am not sure how JVM schedules multiple threads. Before the Thread can be garbage collected, it must stop executing. The Java API docs for java.lang.Thread describe the different

Thread and Garbage collection

2000-05-16 Thread yangyuex
Hi I have several threads in one hashtable. When I remove one of them, whether this thread still consume CPU etc resources? That's to say, if I will not need one thread, whether I must stop or destory it explictly or just remove it from hashtable for garbage collection? I am not sure ho

Re: Garbage collection

2000-01-25 Thread Oliver Fels
On 24 Jan 00, at 10:22, yangyuexiang wrote: > Who can tell me how to detect the algorithm used in > JVM for garbage collection? The correct implementation is not specified and port dependant. If your questions refers to finding out which algorithm is used in a specific port, you will h

Garbage collection

2000-01-23 Thread yangyuexiang
Who can tell me how to detect the algorithm used in JVM for garbage collection? Thanks yang -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Garbage collection in jdk1.2

1999-11-10 Thread Ekkehard Kraemer
Hi Daniel! DPZ>How can I tell how much memory an object takes? There is an article on www.javaworld.com about this topic (it's about clever memory usage, I don't know the exact title, but there are'nt so many articles to choose from). Depending on the VM, java.lang.Object takes some 20-30 bytes

Re: Garbage collection in jdk1.2

1999-11-09 Thread Daniel P. Zepeda
and 30 megs in swap and > > wil stay there all day. This is what I expected in the first place, that > > the program would grow for awhile until the allocation to Garbage > > Collection ratio settled out. > > > > Is this a know problem in the Linux JDK? > > Er

Re: Garbage collection in jdk1.2

1999-11-09 Thread Marc Slemko
wil stay there all day. This is what I expected in the first place, that > the program would grow for awhile until the allocation to Garbage > Collection ratio settled out. > > Is this a know problem in the Linux JDK? Erm... the way to find out about known bugs is to go to

Garbage collection in jdk1.2

1999-11-09 Thread Daniel P. Zepeda
ory and 30 megs in swap and wil stay there all day. This is what I expected in the first place, that the program would grow for awhile until the allocation to Garbage Collection ratio settled out. Is this a know problem in the Linux JDK? I have another question that is related to this problem,

Garbage collection problem in JDK1.2

1999-03-26 Thread Costin Manolache
I am using the invocation API to start JDK1.2 inside an application , and everything works fine until System.gc() is called ( or I create few large arrays and gc() is trigered). The same code works without problems with JDK117. The program is using it's own threads, I just attach to the virtual