JBoss ON event purge job results in OutOfMemoryError when there are several millions of event entries
Issue
-
GC overhead limit exceeded ERROR:
ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/jboss-remoting-servlet-invoker].[ServerInvokerServlet]] (http-/hostname:7080-127) JBWEB000236: Servlet.service() for servlet ServerInvokerServlet threw exception: java.lang.OutOfMemoryError: GC overhead limit exceeded -
The thread
RHQScheduler_Workeris exhausting memory when executingorg.rhq.enterprise.server.purge.PurgeTemplate.loadKeyswhile purging old event data
Environment
- Red Hat JBoss Operations Network (ON) 3.3
- JBoss ON has stored over 10 million events that are now eligible for purge
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
