Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [epp-dev] [ptp-dev] Parallel Package (Juno Win32) Error 'Failed to create the Java Virtual Machine' - on Windows

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


Inactive hide details for Christopher Navarro ---02/13/2013 11:08:50 AM---In the product file, can't you specify memory settingChristopher 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,


    From:

Christopher Navarro <cmnavarr@xxxxxxxxxxxx>

    To:

<ptp-dev@xxxxxxxxxxx>,

    Date:

02/13/2013 11:08 AM

    Subject:

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

    Sent by:

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:
      _______________________________________________
      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




GIF image

GIF image


Back to the top