Skip to content
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

java cli default argument -Xss8G causes a crash #13

Closed
iharsuvorau opened this issue Jul 1, 2021 · 4 comments
Closed

java cli default argument -Xss8G causes a crash #13

iharsuvorau opened this issue Jul 1, 2021 · 4 comments
Milestone

Comments

@iharsuvorau
Copy link
Member

iharsuvorau commented Jul 1, 2021

@Mcamargo85

On macOS 11.4 with java:

java version "15.0.1" 2020-10-20
Java(TM) SE Runtime Environment (build 15.0.1+9-18)
Java HotSpot(TM) 64-Bit Server VM (build 15.0.1+9-18, mixed mode, sharing)

running python simod_console.py fails with:

 -- Mining Process Structure --
Invalid thread stack size: -Xss8G
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[Errno 2] No such file or directory: 'outputs/20210701_8512596F_0181_4932_89A5_87F7430B474D/PurchasingExample.bpmn'

Java tool failed because of -Xss8G. Changing it to a smaller number -Xms1024M works okay.

@Mcamargo85
Copy link
Collaborator

Issue solved with the java parameters update

@iharsuvorau
Copy link
Member Author

@Mcamargo85

Yes, issue is solved when you manually change java parameters in code, but should we expect every user to do so before the run? Should we mention it in the documentation? Is it possible to recognize this parameter depending on the environment?

@Mcamargo85
Copy link
Collaborator

Mcamargo85 commented Jul 1, 2021 via email

@iharsuvorau
Copy link
Member Author

@Mcamargo85 Great, thanks. Now it's clear.

@iharsuvorau iharsuvorau added this to the Simod 3.0 milestone Sep 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants