https://bz.apache.org/bugzilla/show_bug.cgi?id=65920

            Bug ID: 65920
           Summary: java.lang.OutOfMemoryError: Metaspace while deploy
                    application.
           Product: Tomcat 8
           Version: 8.5.70
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Meta
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ----

Currently we are running 6 applications in Tomcat version 8.5.70


Our Infra - memory size allocated like Entire memory 3GB, In that 1.5 GB as
Heap size and 512 is for XX:MaxMetaspaceSize. Java version as 11.
No performance related issue while application runs in peak load. But when we
deploy the any one of the application while running tomcat, first deploy get
success and next deploy is throwing like "Exception in thread
"<app-name>_Worker-3" java.lang.OutOfMemoryError: Metaspace"



Based on our investigation, heap dump shows _3_ instances of the
ParallelWebappClassLoader consuming more memory which is causing this issue.

Currently we are doing server restart before deploy as workaround now.

Kindly suggest is there any open issue which needs to be addressed by Apache
Software Foundation? or provide solution to overcome this issue.



Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to