quality@glassfish.java.net

RE: ★☆[Glassfish Eclipse Bundle 0.9.1 Test] Bundle Starting Failed

From: Tong Jun <tongjun_at_cn.fujitsu.com>
Date: Mon, 23 Mar 2009 17:02:22 +0800

Hi Ludo, Mike

Machines with a small memory (or machines runing in a virtual machine) may
experience start-up problems. Error dialog typically contains:

JVM terminated, Exit code = -1

Error occurred during initialization of VM Could not reserve enough space
for object heap.

Two methods can resolve this problem:
1. use a smaller value for the -Xmx paramater to the JVM
2. delete the file of "eclipse.ini" and restart the eclipse.

I am not sure about above opinion and require Ludo to confirm it.

--------------------------------------------------

-----Original Message-----
From: Tang Yong [mailto:tangyong_at_cn.fujitsu.com]
Sent: Monday, March 23, 2009 1:37 PM
To: Ludovic Champenois
Cc: quality_at_glassfish.dev.java.net
Subject: Re: ★☆[Glassfish Eclipse Bundle 0.9.1 Test] Bundle Starting
Failed

Hi Ludo

I aslo think that the problem is very strange.

There are the following points needed to be considered:
1 which param caused the problem?
2 in which enviroment, the problem occured again.
3 does jvm version cause the problem? or eclipse platform version? or bundle
itself?

Because the problem occured on Bundle Starting, I think that
if any other person can occur the problem, then problem will be
important.

--Mike Tang


> On 3/22/09 7:11 PM, Tang Yong wrote:
>> Hi Tong Jun,
>>
>> Thanks your reply!
>>
>> I have resovled the problem by configing the eclipse.ini file.
>>
>> XXMaxPermSize256m
>> -vmargs
>> -Xms40m
>> -Xmx256m
>>
>> However, I don't konw why my machine appeard the problem, while the
others does not?
>>
> The main difference I see if the XXMaxPermSize256m.
> Our bundle has only XXMaxPermSize128m. and it is not in front of the
> other params....
> Very strange...
> Ludo
>> And I don't know whether or not JVM 1.6 and eclipse 3.4 introduced the
problem?...
>>
>> --Mike Tang
>>
>>
>>
>>> Hi Mike:
>>>
>>> Please refer to the following URL:
>>> http://troyworks.com/blog/2008/06/08/eclipse-jvm-terminated-exit-code-1/
>>> they meet the same problem as you, may it will offer some help to you.
>>>
>>>
>>> -----Original Message-----
>>> From: Tang Yong [mailto:tangyong_at_cn.fujitsu.com]
>>> Sent: Monday, March 23, 2009 9:16 AM
>>> To: quality_at_glassfish.dev.java.net
>>> Cc: Judy Tang
>>> Subject: ★☆[Glassfish Eclipse Bundle 0.9.1 Test] Bundle Starting
Failed
>>>
>>> Hi Judy, Quality Team,
>>>
>>> I meet a fatal problem when I begin to test Glassfish Eclipse Bundle.
>>>
>>> After I install the Glassfish Eclipse Bundle, I clicked the "Glassfish
Tools
>>> Bundle For Eclipse" on the start menu of windows xp.
>>>
>>> However, I can not start the eclipse nomally, and a fatal dialog appeard
.
>>>
>>> ->The attachment(Glassfish Eclipse Bundle Start Fail.jpg) is the fatal
>>> dialog.
>>>
>>> Additionally, My test enviroment is as following:
>>>
>>> OS: Windows XP sp2
>>> JVM: Before I begin to test bundle 0.9.1, I have installed JRE/JDK
1.6.0_12.
>>>
>>> ->★Eclipse Bundle Team,
>>>
>>> When I meet the above problem, I cannot find the error log and I think
that
>>> it is not friendly.
>>>
>>> Could you please confirm the above problems?
>>>
>>> --Mike Tang
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>
>