[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[ptp-dev] Trying to fix Error 'Failed to create the Java Virtual Machine' - on Windows
|
Mac build doesn't look right to me.
See 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
Markus Knauer ---02/14/2013 07:30:28 AM---Beth, I've updated the Parallel Package epp.product file with the settings described in my mail from
![]()
| ![]()
Markus Knauer <mknauer@xxxxxxxxxxxxxxxxx> |
![]()
| ![]()
Parallel Tools Platform general developers <ptp-dev@xxxxxxxxxxx>, |
![]()
| ![]()
Eclipse Packaging Project <epp-dev@xxxxxxxxxxx> |
![]()
| ![]()
02/14/2013 07:30 AM |
![]()
| ![]()
Re: [ptp-dev] [epp-dev] Parallel Package (Juno Win32) Error 'Failed to create the Java Virtual Machine' - on Windows |
![]()
| ![]()
ptp-dev-bounces@xxxxxxxxxxx |
Beth, I've updated the Parallel Package epp.product file with the settings described in my mail from yesterday. A build is running and should appear in the next hours at http://build.eclipse.org/technology/epp/epp_build/juno/download/20130214-1223/.
Regards,
Markus
On Thu, Feb 14, 2013 at 6:20 AM, Beth Tibbitts <tibbitts@xxxxxxxxxx> wrote:
(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
Greg 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
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>
| <ecblank.gif>
Christopher Navarro <cmnavarr@xxxxxxxxxxxx> |
<ecblank.gif>
| <ecblank.gif>
<ptp-dev@xxxxxxxxxxx>, |
<ecblank.gif>
| <ecblank.gif>
02/13/2013 11:08 AM |
<ecblank.gif>
| <ecblank.gif>
Re: [ptp-dev] Parallel Package (Juno Win32) Error 'Failed to create the Java Virtual Machine' - on Windows |
<ecblank.gif>
| <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 -----
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

