In Java, starting with version 8, a new variation of OutOfMemory error: Metaspace .
This happens due to the overflow of this very area of memory, which is essentially the equivalent of Permanent Generation , but it can dynamically expand.
A question to experienced comrades:
Did you have similar situations in your practice, except when using third-party libraries?