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.lang.outofmemoryerror: GC overhead limit exceeded #9

Open
glasgowm148 opened this issue Apr 1, 2021 · 4 comments
Open

Java.lang.outofmemoryerror: GC overhead limit exceeded #9

glasgowm148 opened this issue Apr 1, 2021 · 4 comments

Comments

@glasgowm148
Copy link
Owner

Caused by embeddings being loaded with each actor. Abstract embeddings to global?

@glasgowm148
Copy link
Owner Author

ObjectMapper abstracted
YourKit - Memory profiling

@glasgowm148
Copy link
Owner Author

glasgowm148 commented Apr 1, 2021

[warn] In the last 10 seconds, 7.338 (73.8%) were spent in GC. [Heap: 5.86GB free of 55.88GB, max 127.92GB] Consider increasing the JVM heap using `-Xmx` or try a different collector, e.g. `-XX:+UseG1GC`, for better performance.

@glasgowm148
Copy link
Owner Author

glasgowm148 commented Apr 1, 2021

Set in the job.yaml

Swapped out

-XX:+UseConcMarkSweepGC

for

-XX:+UseG1GC
env:
        - name: SBT_OPTS 
          value: "-Xmx128G -XX:+UseConcMarkSweepGC -XX:+UseG1GC -XX:+CMSClassUnloadingEnabled -Xss2M  -Duser.timezone=GMT"

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