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

Fail in running Java code #1

Open
Isaac-Graham opened this issue Nov 5, 2019 · 0 comments
Open

Fail in running Java code #1

Isaac-Graham opened this issue Nov 5, 2019 · 0 comments

Comments

@Isaac-Graham
Copy link

Hello there,
I found this library is powerful using in online judge system. So that I tried to use it to build my judger. Delightfully, it works very smoothly in judging CPP program. However, unfortunately, it fails in judging JAVA code. The error message is as follows:

"Error occurred during initialization of VM
Could not allocate metaspace: 1073741824 bytes"

At the very beginning, I modified the java command with "-XX:MaxMetaspaceSize=128m", trying to decrease the allocated memory size. However, the failure occurs again with the error message as follows:

Error occurred during initialization of VM
Could not allocate metaspace: 125829120 bytes

Note that the only difference is the allocated memory size.

I have stuck in this bug for about a week without any idea. Could you please give me some suggestions?

Cheers
Isaac

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

1 participant