unsubscribe
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Nick Lawson wrote:
> Hi Crispin, How you doing?
Well!...
>
>
> Your original question never did get a satisfactory answer.
> However it's definitely not the same as Luigi's.
>
> Perhaps you could try the code below; on Suns Windows JDK1.2
> the total
> stays constant at 1m, and the free highwa
Michael Sinz wrote:
> Actually, this code is a "problem" but the bug is in the test.
> Why? Well, you are never returning from the constructor and thus
> certain parts of the system are still locked (synchronized) which
> prevents some forms of GC.
>
thanks for the comments on synchronization o
Jan-Henrik Haukeland wrote:
> A thight loop (without sleep or yield), like the one above, will not
> let the gc thread in on the party. That's the case if you run on a
> preemptive JVM (i.e. with green threads) with real time slicing
> (native threads) it'll work.
The same thing happens with a T
I posted to the group recently with a very similar problem to Luigi's problem -
I think there is a memory leak in StringBuffer somewhere: the following code
slowly eats up memory (it doesn't on a Sun).
(running on JDK1.2-pre1).
import java.util.*;
public class SBTest {
public SBTest() {
Jan-Henrik Haukeland wrote:
...A closed loop like this one will not let the gc thread in to do its
work. Try to run the program in its own thread or issue a yield() or
sleep() in the loop. ...
thanks for the advice, I'm afraid it still grows in size - even with all three
suggestions...
-
Hi,
Is anyone aware of problems with memory leaking in JDK1.2 running on
RedHat 5.2 ? I'm wondering if there is a problem with StringBuffer:
The following small program grows in size:--->
import java.util.*;
public class SBTest {
public SBTest() {
int i = 0;
while
Hello,
I'm having problems with linking libraries in a JNI method in java
1.2...
My machine is a RedHat 5.2 box with kernel 2.2.3.
I have succesfully got jdk1.2 installed and run some of the Demos...
The JNI code works fine under jdk117, but dies under 1.2 with:
UnsatisfiedLinkError: /home/cris