Bug#446299: eclipse: Crashes on startup
Michael Koch
konqueror at gmx.de
Tue Jan 15 09:58:16 UTC 2008
On Tue, Jan 15, 2008 at 11:43:50AM +0200, Arie Skliarouk wrote:
> >
> > Have you tried executing /usr/lib/eclipse/eclipse?
> >
>
> When I start /usr/lib/eclipse/eclipse, it complains on out-of-memory
>
> # /usr/lib/eclipse/eclipse
> GC Warning: Out of Memory! Returning NIL!
>
> In separate window top shows:
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
> COMMAND
> 4048 arie 25 0 473m 345m 60m R 100 34.1 0:20.51 java
>
> My machine has 1GB of memory. If I run eclipse using "eclipse" command, the
> memory usage by "java" process baloons to 900Mb before falling out:
> PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+
> COMMAND
> 4588 arie 23 0 930m 754m 60m D 81 64.7 0:28.48 java
>
> Is the memory consumption reasonable?
>
> /usr/lib/eclipse/usr/lib/eclipse/startup.jar looks terribly awful.
> > Something is wrong here.
>
>
> I have removed the /usr/lib/eclipse/usr directory, to recreate the problem I
> had back then, but have not found any indication on that. The same huge
> memory usage.
>
> Could be the problem was related to the memory consumption.
> $ eclipse
> searching for compatible vm...
> testing /usr/lib/jvm/java-gcj...found
> $ ls -l /usr/lib/jvm/java-gcj
> lrwxrwxrwx 1 root root 26 2007-12-04 16:54 /usr/lib/jvm/java-gcj ->
> java-1.5.0-gcj-4.2-1.5.0.0/
> $ dpkg -S /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/bin/java
> java-gcj-compat: /usr/lib/jvm/java-1.5.0-gcj-4.2-1.5.0.0/bin/java
> $ dpkg -l | grep java-gcj-compat
> ii java-gcj-compat 1.0.77-2
> Java runtime environment using GIJ
Hmm, no I have a much leaner memory usage here. Is the package
eclipse-gcj installed? This depends on some optimized packages for GCJ.
Can you please try this too?
Cheers,
Michael
More information about the pkg-java-maintainers
mailing list