Skip to content

How to setting the extractor jvm options? #12255

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

Closed
yinhediyi opened this issue Feb 19, 2023 · 3 comments
Closed

How to setting the extractor jvm options? #12255

yinhediyi opened this issue Feb 19, 2023 · 3 comments
Labels
question Further information is requested

Comments

@yinhediyi
Copy link

When I was auditing an internal project(Java), the extractor reported a Java heap space error
error1
how can i solve this problem
thanks a lot

@yinhediyi yinhediyi added the question Further information is requested label Feb 19, 2023
@intrigus-lgtm
Copy link
Contributor

What command did you use for database creation?
Can you try running it with -J -Xmx4096M?
If that still doesn't work, have a look at #5292 (comment).

Hope this helps.

@yinhediyi
Copy link
Author

What command did you use for database creation? Can you try running it with -J -Xmx4096M? If that still doesn't work, have a look at #5292 (comment).

Hope this helps.

export SEMMLE_JAVA_EXTRACTOR_JVM_ARGS='-Xmx4g -Xms512m' is no problem

@smowton
Copy link
Contributor

smowton commented Feb 20, 2023

Thanks @intrigus-lgtm for saving our support team some work :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants