Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-dev] Fixing Error 'Failed to create the Java Virtual Machine' - on Windows

I ran a test with the RC3 build on 32 bit Windows XP. I had to reduce the -Xmx setting to -Xmx900m. Once I did that I was able to start Eclipse.

I created a synchronized project, edited a coupe files, built the application, ran it using the PE resource manager on AIX, ran a simple LoadLeveler resource manager test and a simple LSF resource manager test. The corresponding monitoring views were also used.

No problems found.
Dave



From:        Beth Tibbitts/Watson/IBM@IBMUS
To:        Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
Date:        02/14/2013 09:58 AM
Subject:        Re: [ptp-dev] Fixing Error 'Failed to create the Java Virtual Machine'        - on Windows
Sent by:        ptp-dev-bounces@xxxxxxxxxxx




OK that build (win32) works for me on a WinXP machine with 1.43 GB of RAM
(The same machine did indeed fail with the Error
 'Failed to create the Java Virtual Machine' on RC3)

Other experiences?

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for Beth Tibbitts---02/14/2013 09:07:46 AM---Please test, PTP'ers ... they are holding up the final EPP bBeth Tibbitts---02/14/2013 09:07:46 AM---Please test, PTP'ers ... they are holding up the final EPP build for us... Download RC4 trial build

From:

Beth Tibbitts/Watson/IBM@IBMUS

To:

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>,

Date:

02/14/2013 09:07 AM

Subject:

Re: [ptp-dev] Fixing Error 'Failed to create the Java Virtual Machine' - on Windows

Sent by:

ptp-dev-bounces@xxxxxxxxxxx





Please test, PTP'ers ... they are holding up the final EPP build for us...
Download RC4 trial build here:

http://build.eclipse.org/technology/epp/epp_build/juno/download/20130214-1223/

windows -xmx is i believe 1024 and the others are 2048

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for Dave Wootton---02/14/2013 08:49:25 AM---I think the upper limit for me is about 900M with the SR2 RC3Dave Wootton---02/14/2013 08:49:25 AM---I think the upper limit for me is about 900M with the SR2 RC3 build,  determined by trial and error.

From:

Dave Wootton/Poughkeepsie/IBM@IBMUS

To:

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>,

Date:

02/14/2013 08:49 AM

Subject:

Re: [ptp-dev] Fixing Error 'Failed to create the Java Virtual Machine' - on Windows

Sent by:

ptp-dev-bounces@xxxxxxxxxxx





I think the upper limit for me is about 900M with the SR2 RC3 build, determined by trial and error. Beyond that I get the popup. I did get SR2 RC2 to start once at 1024M. I'm not sure this is a problem anywhere other than Windows XP 32 bit. I don't have access to Windows 7 32 bit to try this.

Dave




From:        
Beth Tibbitts/Watson/IBM@IBMUS
To:        
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>
Date:        
02/14/2013 12:24 AM
Subject:        
[ptp-dev] Fixing Error 'Failed to create the Java Virtual Machine'        - on Windows
Sent by:        
ptp-dev-bounces@xxxxxxxxxxx




although, i think Dave said that he had to go down to 768 to get it to work. So some folks are still going to get it....

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for Beth Tibbitts---02/14/2013 12:20:51 AM---(Sorry, I've been away all afternoon and evening.) Yes thereBeth Tibbitts---02/14/2013 12:20:51 AM---(Sorry, I've been away all afternoon and evening.) Yes there's something about SR2 that makes the 2G  

From:

Beth Tibbitts/Watson/IBM@IBMUS

To:

Eclipse Packaging Project <epp-dev@xxxxxxxxxxx>,

Cc:

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>

Date:

02/14/2013 12:20 AM

Subject:

Re: [ptp-dev] [epp-dev] Parallel Package (Juno Win32) Error 'Failed to create the Java Virtual Machine' - on Windows

Sent by:

ptp-dev-bounces@xxxxxxxxxxx






(Sorry, I've been away all afternoon and evening.)
Yes there's something about SR2 that makes the 2G setting for win32 not work any more.

I tend to agree with Markus in that an eclipse that won't even start is confusing for new users.
I think for win32 systems with a lesser amount of memory(?) that the error now means that using realistic-sized synchronized projects isn't going to work.
But I'd rather they see an out of memory exception when they need more, rather than the error we now have, and it won't start.

I think Markus' suggestion makes sense to try.  Wish it weren't so late in the cycle.
Can you build tomorrow first with this as you suggested please, Markus? Win 1G, others 2G. Thanks.

...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


Inactive hide details for Greg Watson ---02/13/2013 01:29:16 PM---The first thing most people do with the parallel package is tGreg Watson ---02/13/2013 01:29:16 PM---The first thing most people do with the parallel package is try to create a synchronized project. Un  

From:

Greg Watson <g.watson@xxxxxxxxxxxx>

To:

Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>,

Cc:

EPP Developer Mailing List <epp-dev@xxxxxxxxxxx>

Date:

02/13/2013 01:29 PM

Subject:

Re: [epp-dev] [ptp-dev] Parallel Package (Juno Win32) Error 'Failed to create the Java Virtual Machine' - on Windows

Sent by:

epp-dev-bounces@xxxxxxxxxxx






The first thing most people do with the parallel package is try to create a synchronized project. Unfortunately for a project of any reasonable size, this will require over 1G, hence the reason we chose 2G as the default. I would prefer that at least the linux and macosx packages remain at this level.

Greg

On Feb 13, 2013, at 1:05 PM, Markus Knauer <
mknauer@xxxxxxxxxxxxxxxxx> wrote:
Hmm, thanks for the Mr. package... but I don't know a real solution.

The current settings with 2GB are in place since Juno SR1 (see bug 389517) and I agree that this seems a bit high.

In the .product file this can be set for all platforms or for specific platforms only (i.e. restricted to linux, macosx, windows), but it is *not* possible to restrict it to an architecture (e.g. x86 or x86_64). It might be possible to specify it in this granularity in the p2.inf file, but I never tried to add this kind of argument there.

One solution could be to remove these VM arguments from the 'all platforms' section, and apply individual settings to the different platforms like the example below. Note that I chose a different, lower value for windows.


<launcherArgs>
<programArgs>-product org.eclipse.epp.package.parallel.product
--launcher.defaultAction openFile</programArgs>
<programArgsWin>--launcher.XXMaxPermSize
256M</programArgsWin>
<vmArgs>-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard</vmArgs>
<vmArgsLin>-XX:MaxPermSize=256m
-Xms512m
-Xmx2048m</vmArgsLin>
<vmArgsMac>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts
-XX:MaxPermSize=256m
-Xms512m
-Xmx2048m</vmArgsMac>
<vmArgsSol>-Xms512m
-Xmx2048m</vmArgsSol>
<vmArgsWin>-Xms512m
-Xmx1024m</vmArgsWin>

</launcherArgs>


If I were you I'd try to use a lower value, e.g. the 1024 MB, instead of the 2024 MB for all platforms. I believe that users are used to modify this value in the eclipse.ini if they are running into out-of-memory, heap, etc. errors, but users are not familiar with an application that doesn't start at all. In my opinion that's the worse case and leads to a very bad first impression.

Regards,
Markus

On Wed, Feb 13, 2013 at 5:11 PM, Beth Tibbitts <
tibbitts@xxxxxxxxxx> wrote:
yes but there's a Win setting not specific to win32.   Querying Markus (Mr. package) for advice on epp-dev list
   



...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511


<graycol.gif>
Christopher Navarro ---02/13/2013 11:08:50 AM---In the product file, can't you specify memory settings by platform so  win32 could get bumped down,  

<ecblank.gif>
From:
<ecblank.gif>
Christopher Navarro <
cmnavarr@xxxxxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>
<
ptp-dev@xxxxxxxxxxx>,
<ecblank.gif>
Date:
<ecblank.gif>
02/13/2013 11:08 AM
<ecblank.gif>
Subject:
<ecblank.gif>
Re: [ptp-dev] Parallel Package (Juno Win32) Error 'Failed to create the Java Virtual Machine' - on Windows
<ecblank.gif>
Sent by:
<ecblank.gif>
ptp-dev-bounces@xxxxxxxxxxx






In the product file, can't you specify memory settings by platform so win32 could get bumped down, but all others would remain at 2048m?

Chris

On 02/13/2013 10:00 AM, Greg Watson wrote:
Is this only for the win32 package, or for all architectures? I would rather have win32 failing than all the other architectures failing with out of memory errors.

Greg

On Feb 13, 2013, at 10:53 AM, Beth Tibbitts <
tibbitts@xxxxxxxxxx> wrote:

Markus, we are seeing several win32 testers not being about to launch on WinXP win32 without bumping down the
eclipse.ini -XMX value
We didn't see this in the previous release (SR1)

I just bumped it down in epp.product from  the default -xmx 2048 to 1024, maybe we need 768, but i notice that cpp's is even lower, 512m.
Advice???  
Lower might be safer so at least new users can bring it up.  an OutOfMemoryException later would lead you to increase it later, at lease.

What do you think?


...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511

----- Forwarded by Beth Tibbitts/Watson/IBM on 02/13/2013 10:47 AM -----
   
<ecblank.gif>
From:
<ecblank.gif>
Christopher Navarro <
cmnavarr@xxxxxxxxxxxx>
<ecblank.gif>
To:
<ecblank.gif>
<
ptp-dev@xxxxxxxxxxx>,
<ecblank.gif>
Date:
<ecblank.gif>
02/13/2013 09:53 AM
<ecblank.gif>
Subject:
<ecblank.gif>
Re: [ptp-dev] Error 'Failed to create the Java Virtual Machine' - on Windows
<ecblank.gif>
Sent by:
<ecblank.gif>
ptp-dev-bounces@xxxxxxxxxxx






I also commented on the bug, I can get it to run with 512m and 1024m for -Xmx, I think it's just a memory allocation request compared to what the machine actually has available. The default is 2048 (kinda high for a 32 bit machine which can only utilize 4gb max).

Chris

On 02/13/2013 08:43 AM, Brian Watt wrote:


Yes, I got something like that. Added what I saw to the bugzilla.

Brian Watt, Eclipse PTP Development
(512)286-9169, TL363-9169; FAX: Unknown
IBM Corporation, Div/7T, D/93QA, B/906-5G015, 11501 Burnet Rd, Austin, TX 78758
Notes: Brian Watt/Austin/IBM@IBMUS, EMail:
bwatt@xxxxxxxxxx

<31064882.gif>
Beth Tibbitts---02/13/2013 08:14:29 AM---Is anyone else seeing what Dave sees? https://bugs.eclipse.org/bugs/show_bug.cgi?id=400004

From:
Beth Tibbitts/Watson/IBM@IBMUS
To:
ptp-dev@xxxxxxxxxxx,
Date:
02/13/2013 08:14 AM
Subject:
[ptp-dev] Error 'Failed to create the Java Virtual Machine' - on Windows
Sent by:
ptp-dev-bounces@xxxxxxxxxxx





Is anyone else seeing what Dave sees?


https://bugs.eclipse.org/bugs/show_bug.cgi?id=400004


...Beth

Beth Tibbitts
Eclipse Parallel Tools Platform  
http://eclipse.org/ptp
IBM STG - High Performance Computing Tools
Mailing Address:  IBM Corp., 745 West New Circle Road, Lexington, KY 40511
_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev



_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev



_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev




_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev



_______________________________________________
ptp-dev mailing list

ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
epp-dev mailing list
epp-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/epp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/ptp-dev
_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx

https://dev.eclipse.org/mailman/listinfo/ptp-dev

_______________________________________________
ptp-dev mailing list
ptp-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-dev


Back to the top