Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » JVM.dll ignores -Xss argument(Running an application that requires 2m stack size at initialization fails to start properly even if -Xss2m is set.)
JVM.dll ignores -Xss argument [message #1794731] Wed, 05 September 2018 16:46
István Ratkovszki is currently offline István RatkovszkiFriend
Messages: 1
Registered: September 2018
Junior Member
I am developing an RCP application, that requires 2m stack to load its EMF metamodels at initialization time, so in the eclipse.ini the vmargs has the -Xss2m.

The used platform is Eclipse 4.7.1. To run the application we use JRE 1.8.0.172.

When the eclipse.ini specify the path to the JRE's javaw.exe, the application starts up without any problems, however when it does not (the used file is the server/jvm.dll) or the jvm.dll path is the specified in the file, the application crashes with StackOverflowException.

I cannot figure out why this happen, but it seems that the stack size does not change if i change the Xss argument, it stays the default value. The same happens if i run from command line, also if the application is run from the Eclipse IDE without defining the max stack size.

I analyzed the behavior of the product with both jvm.dll and javaw.exe with yourkit, and did not experienced any difference, except the stack overflow.
Previous Topic:how to install "import java." and "import javax."
Next Topic:Failure while creating project by using GIT
Goto Forum:
  


Current Time: Mon Nov 19 05:28:57 GMT 2018

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

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

Back to the top