1. 现象 Java heap space
通过系统日志查询如下:
2013-04-11 16:53:54,569 [ActiveMQ Transport: tcp:///202.111.10.183:8006] WARN org.apache.activemq.transport.failover.FailoverTransport - Transport (/202.111.10.183:8006) failed to tcp://202.111.10.183:8006 , attempting to automatically reconnect due to: java.io.EOFException
2013-04-11 16:54:39,565 [ActiveMQ Task-39] INFO org.apache.activemq.transport.failover.FailoverTransport - Successfully reconnected to tcp://202.111.10.183:8006
Exception in thread "taskExecutor-400" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-401" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-402" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-403" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-404" java.lang.OutOfMemoryError: Java heap space
2013-04-11 17:07:35,627 [ActiveMQ Session Task-9506] WARN org.springframework.jms.listener.SimpleMessageListenerContainer - Execution of JMS message listener failed, and no ErrorHandler has been set.
java.lang.OutOfMemoryError: Java heap space
2013-04-11 17:07:45,947 [ActiveMQ Transport: tcp:///202.111.10.183:8006] WARN org.apache.activemq.transport.failover.FailoverTransport - Transport (/202.111.10.183:8006) failed to tcp://202.111.10.183:8006 , attempting to automatically reconnect due to: java.io.EOFException
2013-04-11 17:08:53,055 [ActiveMQ Task-42] INFO org.apache.activemq.transport.failover.FailoverTransport - Successfully reconnected to tcp://202.111.10.183:8006
2013-04-11 17:14:30,307 [ActiveMQ Session Task-9509] WARN org.springframework.jms.listener.SimpleMessageListenerContainer - Execution of JMS message listener failed, and no ErrorHandler has been set.
java.lang.OutOfMemoryError: Java heap space
2013-04-11 17:14:40,623 [ActiveMQ Transport: tcp:///202.111.10.183:8006] WARN org.apache.activemq.transport.failover.FailoverTransport - Transport (/202.111.10.183:8006) failed to tcp://202.111.10.183:8006 , attempting to automatically reconnect due to: java.io.EOFException
2013-04-11 17:14:50,943 [ActiveMQ Task-44] INFO org.apache.activemq.transport.failover.FailoverTransport - Successfully reconnected to tcp://202.111.10.183:8006
Exception in thread "taskExecutor-407" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-408" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-409" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-411" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-344" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-412" java.lang.OutOfMemoryError: Java heap space
Exception in thread "taskExecutor-413" java.lang.OutOfMemoryError: Java heap space
Excep