Skip to main content

[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


Inactive hide details for Markus Knauer ---02/14/2013 07:30:28 AM---Beth, I've updated the Parallel Package epp.product file wiMarkus 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


    From:

Markus Knauer <mknauer@xxxxxxxxxxxxxxxxx>

    To:

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

    Cc:

Eclipse Packaging Project <epp-dev@xxxxxxxxxxx>

    Date:

02/14/2013 07:30 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




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


    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



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


GIF image

GIF image


Back to the top