- This topic has 6 replies, 3 voices, and was last updated 5 years, 11 months ago by support-swapna.
-
AuthorPosts
-
MorkParticipantThe 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.
support-tonyKeymasterMork,
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.
MorkParticipantThe 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, 11 months ago by Mork.
MorkParticipantI 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
-XstartOnFirstThreadAttachments:
You must be logged in to view attached files.
support-swapnaModeratorMork,
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
MorkParticipantThanks. I upped the -Xmx value to 2048 as a test and it seems to work fine now. 🙂
Appreciate your help.
M
support-swapnaModeratorGlad that it works. Do let us know if you see any further issues.
–Swapna
Genuitec Support -
AuthorPosts