Brody Smith
Brody Smith

Reputation: 23

How to change the JMS broker memory settings

I am trying to figure out how to change the JMS brokers JVM memory settings on Glassfish 2.1. When the server instance starts it automatically starts up the broker, how do I adjust the memory allocation? I found a little help at this site http://docs.sun.com/app/docs/doc/821-1794/aeokk?l=en&a=view but it only shows you how to adjust the memory allocation from the command line. I found the configuration file that it mentions but I can't figure out how to pass it the vmargs. Any help with this would be great. Thanks, Brody Smith

Upvotes: 0

Views: 1168

Answers (1)

Preston
Preston

Reputation: 3271

In the admin console click on Configuration ~ Java Message Service (just as user364939 suggests). Then in the "Start Arguments" field enter

-vmargs -Xmx512m

or whatever memory settings you need.

Upvotes: 2

Related Questions