Java java.lang.OutOfMemoryError: PermGen space

java.lang.OutOfMemoryError: PermGen space You get this error that means your JVM is running out of allocated memory for storing class metadata information (class properties, methods annotations etc). This space is not cleaned by Garbage collector. It could happen because of multiple reasons. One you are dynamically generating classes and those are getting loaded in JVM. Second your application is so big and it has more number of dependencies on other third party libraries. [Read More]