JVM.dll ignores -Xss argument [message #1794731] |
Wed, 05 September 2018 16:46 |
István Ratkovszki Messages: 2 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.
|
|
|
|
Powered by
FUDForum. Page generated in 0.02643 seconds