I ran the test and I had the error "exceeding the limit on GC". I realized that this was because I loaded too many primitives into the cache. I'm wrong?
Then my question is, how can we prevent this? For example, can we estimate the size of the required memory based on the number of primitives? Is there a clue to know about this approximately?
My boss wants to know how many primitives we can manage at the same time. I assume this is due to the JVM settings, but it is not possible to find which settings.
Sorry if these are stupid questions, I'm not used to JVM settings and performance, and I have a pretty big lack of knowledge about this atm. Try and desire to understand though!
Jimmy.
source share