while adding any data in the maintenance tab or data entry tab facing this below error in tomcat.
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “activemq-failure-check-thread”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “AsyncFileHandlerWriter-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-2 (ActiveMQ-scheduled-threads)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-1 (ActiveMQ-scheduled-threads)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-22”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “http-nio-8080-AsyncTimeout”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “http-nio-8080-Poller”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-23”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#4-4”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#3-2”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-0 (ActiveMQ-scheduled-threads)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-9”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “http-nio-8080-exec-10”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “ContainerBackgroundProcessor[StandardEngine[Catalina]]”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-4 (ActiveMQ-scheduled-threads)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#0-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-8”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#3-3”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#4-3”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#5-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-0 (-scheduled-threads)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-24”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#4-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-15”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-3 (ActiveMQ-scheduled-threads)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#4-2”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#5-4”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-12”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-25”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#1-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-10”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#3-4”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-14”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#5-2”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-16”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#5-5”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#5-3”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-13”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-17”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-19”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-11”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#4-5”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#2-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Thread-10 (org.apache.activemq.artemis.core.remoting.impl.invm.InVMConnector)”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-5”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#3-5”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-2”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-7”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “http-nio-8080-exec-6”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-18”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “org.springframework.jms.JmsListenerEndpointContainer#3-1”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-6”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-21”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-3”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-4”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “taskScheduler-20”
Exception: java.lang.OutOfMemoryError thrown from the UncaughtExceptionHandler in thread “Statistics Thread-Hibernate 9214cf09-0ae4-4fc3-8e9b-c4edabf72672-1”
Note: JAVA_OPT environment value is “-Xms2048m -Xmx4096m -XX:PermSize=1024m -XX:MaxPermSize=1024m”