With -Xmx951M Eclipse fails to start [message #326959] |
Thu, 03 April 2008 13:05  |
Eclipse User |
|
|
|
Europa 3.3.2 on Windows Server 2003 with 4GB physical memory, 3GB
available.
Setting -Xmx to any value above 950M causes Eclipse to fail to start.
The following eclipse.ini works:
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
-vmargs
-Xms40M
-Xmx950M
but with -Xmx951M or greater, I get a popup "JVM teminated. Exit code=-1"
as soon as I launch Eclipse. A search of the entire Eclipse directory
structure turned up no files matching *.log.
Suggestions on how to debug?
|
|
|
|
|
|
Re: With -Xmx951M Eclipse fails to start [message #327005 is a reply to message #326988] |
Fri, 04 April 2008 08:58  |
Eclipse User |
|
|
|
Originally posted by: eclipse-news.rizzoweb.com
Walter Harley wrote:
> "Jim Garrison" <jhg@acm.org> wrote in message
> news:fd561d094cd43883697d6bc5a4bc3225$1@www.eclipse.org...
>> Europa 3.3.2 on Windows Server 2003 with 4GB physical memory, 3GB
>> available.
>>
>> Setting -Xmx to any value above 950M causes Eclipse to fail to start.
>>
>> The following eclipse.ini works:
>>
>> -showsplash
>> org.eclipse.platform
>> --launcher.XXMaxPermSize
>> 512m
>> -vmargs
>> -Xms40M
>> -Xmx950M
>>
>> but with -Xmx951M or greater, I get a popup "JVM teminated. Exit code=-1"
>> as soon as I launch Eclipse. A search of the entire Eclipse directory
>> structure turned up no files matching *.log.
>
>
> What JRE are you using?
>
> Are you sure?
>
> Although as Eric said there's a practical limit, I routinely run
> with -Xmx1024M on Sun JDK 1.5.0_13 and 1.6.0_u5, so I don't think 951M
> should be a problem. I wonder about that 512M for max perm size, though,
> that seems like an awful lot.
That may be part of the problem, as the JVM will be trying to allocate
two large contiguous blocks of memory, 950MB for heap and another 512MB
for perm gen. Jim, can you try bumping down the perm gen setting to
256MB (or even 128, which is usually enough even with a large tool set
like Eclipse+EMF+GMF+WTP)?
Eric
|
|
|
Powered by
FUDForum. Page generated in 0.03545 seconds