-
Notifications
You must be signed in to change notification settings - Fork 73
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
OutOfMemoryError: Java heap space #319
Comments
Hey, did u try to increase the memory limit? |
At first, it was about 1500MB, then I increased it to 2500MB, which didn't really help much. But I can try 4GB too. Meanwhile, I'm suspecting that there is a code which causes this. Possible issue? |
if it possible, could you provide code snippet that causes the issue? Or maybe it just happens for any reason, just after some time passes? |
Based on my last dead docker container stats, I can say that it worked and compiled, 3114 codes successfully, and then the first issue began with the following error:
I encountered an issue with line endings so I have two regexes that replace: (@"\r\n", "\n")
(@"\r", "\n") This fixed major crashes, but I don't have any known other cases yet. So yes some time passes, usually a few days and this happens. |
Do you use Docker image from the project or custom? If custom, which exact JVM do you use there? I'm asking, because we haven't experienced any memory leaks yet. So, something must be different =) |
I did not use the docker images for a while. I recommend to use AWS Lambda instead =) |
I forked the repo, added the optional My commit: aaronsarkissian@21f296d Do you think this |
Okay! Thanks for the info! We'll build a stand and analyse the memory leak issue. Stay tuned 😉 |
Thank you so much. If it helps, I'm only using the |
I run the dockerized version on my VM, which I use to compile codes, and after a while, it fails with the following error, and I should restart the docker container, so it works again.
Any suggestion? Can I config something which will prevent this from happening?
This is my docker-compose yaml part for the container:
The text was updated successfully, but these errors were encountered: