<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wrapper on Evan Hoffman</title><link>https://evan.wtf/tags/wrapper/</link><description>Recent content in Wrapper on Evan Hoffman</description><generator>Hugo</generator><language>en-US</language><copyright>Evan Hoffman</copyright><lastBuildDate>Tue, 13 Aug 2013 08:58:41 +0000</lastBuildDate><atom:link href="https://evan.wtf/tags/wrapper/index.xml" rel="self" type="application/rss+xml"/><item><title>Java Wrapper does whatever it wants</title><link>https://evan.wtf/2013/08/13/java-wrapper-does-whatever-it-wants/</link><pubDate>Tue, 13 Aug 2013 08:58:41 +0000</pubDate><guid>https://evan.wtf/2013/08/13/java-wrapper-does-whatever-it-wants/</guid><description>&lt;p&gt;Yesterday I set out to increase the memory settings for a bunch of our ActiveMQ machines. Most of the time these queues work pretty efficiently and their steady-state memory usage is just a few MB, but with some upcoming maintenance we expect these queues to get considerably fuller, so I was growing them preemptively. Anyway, our ActiveMQ installation gets bootstrapped using &lt;a href="http://activemq.apache.org/java-service-wrapper.html"&gt;Java Service Wrapper&lt;/a&gt; and the JVM settings for ActiveMQ are managed in some wrapper.conf file. What I wanted to do was pretty straightforward: I increased the VM&amp;rsquo;s &amp;lsquo;physical&amp;rsquo; memory to 16 GB and intended to increase Java&amp;rsquo;s MaxHeap from its current setting (1536MB aka 1.5GB) to 8192MB (8 GB). In wrapper.conf, I found the &amp;ldquo;wrapper.java.maxmemory&amp;rdquo; setting (which was set to 1536), set it to 8192, and restarted ActiveMQ. Here&amp;rsquo;s where it got weird.&lt;/p&gt;</description></item></channel></rss>