Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » equinox launcher VS ini file(Difference between launching application through equinox launcher and through ini file)
equinox launcher VS ini file [message #1769183] Thu, 27 July 2017 10:30 Go to next message
bisoyi J is currently offline bisoyi JFriend
Messages: 12
Registered: September 2014
Junior Member
I have an RCP application which has StackOverflowError if I launch the application through launcher. So wanted to increase the stack size but so far no luck!
XX.exe : launcher
XX.ini : ini file for the launcher.

ini file has entry :
-startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.401.v20161122-1740
-vmargs
-Xms256m
-Xmx2048m
-Xss4m
-XX:MaxGCPauseMillis=10
-XX:MaxHeapFreeRatio=70
-XX:+UnlockExperimentalVMOptions
-XX:+UseG1GC
-XX:+ScavengeBeforeFullGC
-Declipse.buildId=44.1.2


As a workaround I am using a windows batch file with below input:
@echo off
java -Dosgi.requiredJavaVersion=1.8 -Xms256m -Xmx256m -Xss2m -jar plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar -application xx.yy.zz.mm.application.application -showSplash splash.bmp

exit

Strangely windows batch script this works perfectly fine! I have no clue on this.

Don't know why the -Xss agrument is not considered by eclipse.ini
Any info would be greatly helpful or any pointer to debug the launcher ??

environment : Windows7+eclipse Neon+ 64bit java1.8
Re: equinox launcher VS ini file [message #1770136 is a reply to message #1769183] Tue, 08 August 2017 14:55 Go to previous message
Eclipse UserFriend
Generally the JVM stack size on modern JVMs is pretty large; stack overflow errors usually indicate a bug. Could you please examine your <workspace>/.metadata/.log file to see if there are any details reported on the stack overflow?
Previous Topic:User Rightmanagement for Parts
Next Topic:Newly created RCP application: 81 errors :-(
Goto Forum:
  


Current Time: Thu Apr 25 13:41:38 GMT 2024

Powered by FUDForum. Page generated in 0.02853 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top