Activemq version: 5.8
An error is reported during startup:
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
In fact we don't need so much temp space, you can modify the default configuration file: apache-activemq-5.8.0 \ conf \ activemq. xml
[Html]
<SystemUsage>
<SystemUsage>
<MemoryUsage>
<MemoryUsage limit = "64 mb"/>
</MemoryUsage>
<StoreUsage>
<StoreUsage limit = "100 gb"/>
</StoreUsage>
<TempUsage>
<SPAN style = "COLOR: # ff0000"> <tempUsage limit = "50 gb"/> </SPAN>
</TempUsage>
</SystemUsage>
</SystemUsage>
<SystemUsage>
<SystemUsage>
<MemoryUsage>
<MemoryUsage limit = "64 mb"/>
</MemoryUsage>
<StoreUsage>
<StoreUsage limit = "100 gb"/>
</StoreUsage>
<TempUsage>
<TempUsage limit = "50 gb"/>
</TempUsage>
</SystemUsage>
</SystemUsage>
Modify "50 gb" as needed to set the desired zero-time space. Here I will change it to 500 mb, which is enough.