Hi Shawn How do you start ActiveMQ ?
If you use bin/activemq.bat script, wrapper is not used at all and JVM memory setup is done directly in ActiveMQ.bat (or included script). Regards JB > Le 26 oct. 2021 à 21:50, Shawn Trent <shawn.tr...@bcidaho.com> a écrit : > > Hello, > Hoping someone may have a thought here on a problem I am seeing with AMQ on > Windows. > The problem seemed simple till I tried to resolve it. > I am randomly getting > java.lang.OutOfMemoryError: Java heap space > > I attempted to set the windows environment variable to compensate for this > Set _JAVA_OPTIONS ="-Xms2048m -Xmx4096m" (64 bit Java) > Running "java -XX:+PrintFlagsFinal -version | findstr /I "HeapSize" > > I see no changes in the JVM's heap size setting > > Also changed in the ActiveMQ.XML > No change > > Change in the wrapper (probably did this wrong) > No change. > > Any thoughts on what I may be doing wrong here? Am I missing something? > I was just starting to look at setting it via the java command line but need > to work out the syntax. > > -Best Regards > Shawn Trent > Enterprise Application Systems > Blue Cross of Idaho > Office: (986) 224-3788 > Cell: (208) 631-0278 > str...@bcidaho.com<mailto:str...@bcidaho.com> > > ---------------------------------------------------------------------- > NOTICE: This email message is for the sole use of the intended recipient(s) > and may contain confidential and privileged information. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not the > intended recipient, please contact the sender by reply email and destroy all > copies of the original message. > Blue Cross of Idaho, 3000 E. Pine Ave, Meridian, ID 83642