facebook

MyEclipse runs out of memory with basic Maven project setup

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #607382 Reply

    Mork
    Participant

    The image attached showed up every time I tried to create a maven project on the Mac using MyE professional. Despite my searching, I cannot find a “myeclipse.ini” file.

    Would appreciate your help with configuring MyE memory settings so maven projects can be created.

    Thanks very much,

    Attachments:
    You must be logged in to view attached files.
    #607400 Reply

    support-tony
    Keymaster

    Mork,

    Please check this FAQ for where to find files. Note that, on the Mac, this file is actually named eclipse.ini, for technical reasons.

    The error message shown only provides a hard-coded suggestion and you may need to increase the memory setting for your circumstances.

    #607413 Reply

    Mork
    Participant

    The only file I found after looking at the FAQ that looked like it was possibly appropriate was below (I was not able to find any of the other files mentioned in the FAQ):

    /Applications/MyEclipse CI/MyEclipse CI.app/Contents/Profile/eclipse.ini

    That file has this:

    #ansi (do not remove)
    -startup
    ../Profile/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
    –launcher.library
    ../Profile/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.700.v20180518-1200
    –launcher.defaultAction
    openFile
    -vm
    ../Profile/binary/com.sun.java.jdk10.macosx.x86_64_1.10.1/lib/jli/libjli.dylib
    -install
    /Applications/MyEclipse CI/MyEclipse CI.app/Contents/Profile
    -vmargs
    -Xms256m
    -Xmx1024m
    -XX:+UseG1GC
    -XX:+UseStringDeduplication
    -Dosgi.requiredJavaVersion=1.8
    -Dosgi.nls.warnings=ignore
    –add-modules=ALL-SYSTEM
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    -Xdock:icon=../Resources/myeclipse.icns
    -XstartOnFirstThread

    ===

    Is this the file I need to edit?

    Hopefully you have a current Mac install of the latest version of MyEclipse and can tell me what file I need to edit, right?

    Thanks in advance,

    • This reply was modified 5 years, 2 months ago by Mork.
    #607427 Reply

    Mork
    Participant

    I tried to modify that file above, but this time when I tried to create a maven project, I simply got the OutOfMemory crash screen as you see in the screenshot below.

    Here is the current eclipse.ini file. Again, I have no idea from your FAQ if this is (1) the right file or (2) exactly how to modify it…

    /Applications/MyEclipse CI/MyEclipse CI.app/Contents/Profile/eclipse.ini

    #ansi (do not remove)
    -startup
    ../Profile/plugins/org.eclipse.equinox.launcher_1.5.0.v20180512-1130.jar
    –launcher.library
    ../Profile/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.700.v20180518-1200
    –launcher.defaultAction
    openFile
    -vm
    ../Profile/binary/com.sun.java.jdk10.macosx.x86_64_1.10.1/lib/jli/libjli.dylib
    -install
    /Applications/MyEclipse CI/MyEclipse CI.app/Contents/Profile
    -vmargs
    -Xmx1024m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -XX:+UseG1GC
    -XX:+UseStringDeduplication
    -Dosgi.requiredJavaVersion=1.8
    -Dosgi.nls.warnings=ignore
    –add-modules=ALL-SYSTEM
    -Dorg.eclipse.swt.internal.carbon.smallFonts
    -Xdock:icon=../Resources/myeclipse.icns
    -XstartOnFirstThread

    Attachments:
    You must be logged in to view attached files.
    #607430 Reply

    support-swapna
    Moderator

    Mork,

    Yes, that is the correct file. Can you please increase the -Xmx value to greater than 1024 and check? (Try increasing it in the counts of 100 and see if it makes any difference). Shut down MyEclipse, make the change in the eclipse.ini file and restart.

    Please let us know how it works.

    –Swapna
    Genuitec Support

    #607437 Reply

    Mork
    Participant

    Thanks. I upped the -Xmx value to 2048 as a test and it seems to work fine now. 🙂

    Appreciate your help.

    M

    #607439 Reply

    support-swapna
    Moderator

    Glad that it works. Do let us know if you see any further issues.

    –Swapna
    Genuitec Support

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: MyEclipse runs out of memory with basic Maven project setup

This topic is marked as closed to new replies, however your posting capabilities still allow you to do so.

You must be logged in to post in the forum log in