There are some causes and solutions Found here. https://javarevisited.blogspot.com/2011/09/javalangoutofmemoryerror-permgen-space.html?m=1
On Sun, 8 Dec 2019, 21:30 Heikki Hyyrö (TAU), <heikki.hy...@tuni.fi> wrote: > I am wondering if this is just a coincidence... But a site I am running > with Struts 2 started to output errors of form > > > Exception in thread "ajp-bio-8009-exec-164" Exception in thread > "ajp-bio-8009-exec-183" Exception in thread "ajp-bio-8009-exec-151" > java.lang.OutOfMemoryError: Java heap space > > within a couple of hours after having updated from Struts 2.5.20 to 2.5.22. > > As I have not encountered this type of errors on that site before, I am > wondering if something in Struts 2.5.22 could increase memory usage? It > could of course be just a coincidence, but the timing is a bit suspicious. > > Best regards, > > Heikki > > >