Memory Settings in JBoss Fuse ESB 6.0 and JBoss A-MQ 6.0

Latest response

Hi,
I am running JBoss Fuse ESB 6.0 and JBoss A-MQ 6.0 as Windows services and using 1G as the Java Max memory which is defined in wrapper configuration file. If there are more pending messages on activemq then browsing operation fails with Java Heap Error or Java PermGen memory error.

All batch scripts inside Fuse_Home/bin or Amq_Home/bin are present with their default memory settings. Do we need changes in those scripts (fuse.bat/karaf.bat/start.bat/setenv.bat/amq.bat etc)? Please suggest the best practices to avoid such errors.

Thanks
Shiv

Responses