With the change from TIBCO to ActiveMQ in PAM Server Control, JBoss now uses the same JVM as ActiveMQ. As such, the default JVM memory setting in JBoss might not be large enough to handle both services.
PIM or PAMSC Enterprise Management server 14.0 and above, running ActiveMQ.
Use the following instructions to adjust JVM memory.
1- Stop JBoss and ActiveMQ.
2- Browse to C:\jboss-4.2.3.GA\bin\.
3- Open run.bat for editing.
4- Find Xmx1024m and change it to Xmx2048m or Xmx4096m, depending on the amount of memory available on the server, then save the file.
5- Browse to C:\ActieMQ\conf\.
6- Open activemq.xml for editing.
7- Replace <memoryUsage percentOfJvmHeap="70" /> with <memoryUsage limit="512 mb" /> and save the file.
8- Browse to C:\ActiveMQ\bin\.
9- Open wrapper.conf for editing.
10- Find wrapper.java.maxmemory and set it to 2048 or 4096, the same value set in step 4, then save the file.
11- Start ActiveMQ and JBoss.