I've got a fresh FreeBSD 8-Stable AMD64 install. I need to run Eclipse, so I installed diablo-jdk and Eclipse from Ports. When I start Eclipse, I can see the splash screen, then a message appears on console saying that Java has experienced a segfault in native code.
Things go haywire from there on: Eclipse splash screen just hangs on screen, as does the Java process. According to top, Java wants 43 Gigs of memory ("SIZE" column), is in "STOP" state and slowly eats my physical memory, including swap. kill doesn't work, kill -9 doesn't work, kill -9 as root doesn't work either -- the process just hangs on there, slowly eating my memory. Reboot is the only option I have found.
I tried disabling swap before trying again: the system quickly ran out of memory, and then started killing random processes but leaving the Java process alone.
Java is apparantely trying to dump a core:
I don't know if that is the whole coredump or just a part of it as I have always rebooted so far and never let the process quit on its own.
Java itself seems to work okay. I made a small Hello World program in Java:
No crash here. I got the "No such file or directory" message while trying to run Eclipse as well. I guess that indicates something being wrong there.
Anyway, suggestions? I need to get Eclipse running. I'd also like to know what I can do if some other process in the future decides to dump a 43-Gig core, rendering the system useless in the process. Besides a reboot, that is.
Things go haywire from there on: Eclipse splash screen just hangs on screen, as does the Java process. According to top, Java wants 43 Gigs of memory ("SIZE" column), is in "STOP" state and slowly eats my physical memory, including swap. kill doesn't work, kill -9 doesn't work, kill -9 as root doesn't work either -- the process just hangs on there, slowly eating my memory. Reboot is the only option I have found.
I tried disabling swap before trying again: the system quickly ran out of memory, and then started killing random processes but leaving the Java process alone.
Java is apparantely trying to dump a core:
Code:
> ls -lh ~/java.core
-rw------- 1 oxyd oxyd 43G May 13 21:15 /usr/home/oxyd/java.core
Java itself seems to work okay. I made a small Hello World program in Java:
Code:
[starlight] /tmp > javac Hello.java
realpath: : No such file or directory
[starlight] /tmp > java Hello
realpath: : No such file or directory
Hello!
Anyway, suggestions? I need to get Eclipse running. I'd also like to know what I can do if some other process in the future decides to dump a 43-Gig core, rendering the system useless in the process. Besides a reboot, that is.