activemq版本:5.8
启动的时候报错:
ERROR | Temporary Store limit is 51200 mb, whilst the temporary data directory: D:\Program Files\apache-activemq-5.8.0\bin\..\data\localhost\tmp_storage only has 6338 mb of usable space
其实我们不用那么多temp空间,可以修改默认配置文件:apache-activemq-5.8.0\conf\activemq.xml
<systemUsage>
<systemUsage>
<memoryUsage>
<memoryUsage limit="64 mb"/>
</memoryUsage>
<storeUsage>
<storeUsage limit="100 gb"/>
</storeUsage>
<tempUsage>
<tempUsage limit="50 gb"/>
</tempUsage>
</systemUsage>
</systemUsage>
根据自己的需求修改“50 gb”为自己想要的零时空间,我这里修改为 500 mb,足够用了。