New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to transfer jvm-specific arguments to the applicationLauncher? #221

Closed
zenddup opened this Issue Sep 13, 2018 · 3 comments

Comments

Projects
None yet
2 participants
@zenddup

zenddup commented Sep 13, 2018

Hi,
Our application is a complicate script with many arguments,I don't know how to put all these arguments to applicationLauncher method???

-------------------the startup script begin---------------------------------------------------------------
javaw.exe -Dfile.encoding="GBK" -classpath .\plugins\com.galaxy.framework.iview -Xdebug -XX:+TieredCompilation -XX:MinHeapFreeRatio=10 -XX:MaxHeapFreeRatio=40 -Xverify:none -Dparsertype=2 -Xms512m -Xmx4096m -Xmn256m -XX:PermSize=128M -XX:MaxPermSize=256M -XX:+UseSerialGC -Dsun.java2d.noddraw=true -Dhelpapp=run_help.bat -XX:+HeapDumpOnOutOfMemoryError -Djava.library.path=..\lib;.\plugins\com.galaxy.gis.thirdparty\supermap_runtime com.startup.Startup

-------------------the startup script end---------------------------------------------------------------
Thank you very much.
Johnny.Z

@zenddup

This comment has been minimized.

Show comment
Hide comment
@zenddup

zenddup Sep 13, 2018

I mean how to transfer JVM-specific arguments (e.g. -Xms, -Xmx) toapplicationLauncher method?

Thanks very much

zenddup commented Sep 13, 2018

I mean how to transfer JVM-specific arguments (e.g. -Xms, -Xmx) toapplicationLauncher method?

Thanks very much

@zenddup zenddup changed the title from How to transfer vm arguments to the applicationLauncher? to How to transfer jvm-specific arguments to the applicationLauncher? Sep 13, 2018

@croesch

This comment has been minimized.

Show comment
Hide comment
@croesch

croesch Oct 1, 2018

Collaborator

I'm not sure if I understand your request correctly but just pass the arguments to your test suite. Since the AUT runs in the same JVM as the tests itself, you can pass these parameters to the test runner. How do you run your tests?

I hope that helps, I close the issue as I think the answer should be helpful, but if I'm wrong just reopen it and post additional details, thx in advance.

Collaborator

croesch commented Oct 1, 2018

I'm not sure if I understand your request correctly but just pass the arguments to your test suite. Since the AUT runs in the same JVM as the tests itself, you can pass these parameters to the test runner. How do you run your tests?

I hope that helps, I close the issue as I think the answer should be helpful, but if I'm wrong just reopen it and post additional details, thx in advance.

@croesch croesch added the question label Oct 1, 2018

@croesch croesch closed this Oct 1, 2018

@zenddup

This comment has been minimized.

Show comment
Hide comment
@zenddup

zenddup Oct 7, 2018

thanks,adding the jvm parameters to the test runner works.

zenddup commented Oct 7, 2018

thanks,adding the jvm parameters to the test runner works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment