-
Beta Was this translation helpful? Give feedback.
Answered by
dmikusa
May 22, 2023
Replies: 1 comment 3 replies
-
Where are you mounting this in the container? What exists on your EKS mount? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, so the buildpack has a helper that runs before your app starts which dynamically adjusts the memory configuration of the JVM based on the memory available to your container. To do this, it needs to know how many class files are in your app so it can size the metaspace.
To do this, it walks the app directory and counts up the class files. This should generally be fast, where you don't even notice it, but you're binding in remote storage which probably has tons of files and making tons of files, and that is going to be noticeable.
There are two things you can do about this now:
/workspace
& point your application to the new location.