I have a series of JUnit tests for an application that I have been building, but when I run them against the 5.6.0 ActiveMQ library, it shows an error:
ERROR checkSystemUsageLimits, Temporary Store limit is 50000 mb, whilst the temporary data directory: /path/to/temp/storage only has [less than 50,000] mb of usable space
It doesn't cause an error in the unit test, but I don't need 50GB of space for my unit tests. Is there a way that I can reduce the size of the requested size from 50GB to something less? If not, is there a way that I can easily suppress this error?
Edit: I should mention that I'm creating the connection to AMQ using the URL
vm://localhost?broker.persistent=false
So it's not using the activemq.xml config file.
You can change your configuration to include a smaller size in
<systemUsage>
<systemUsage>
<tempUsage>
<tempUsage limit="100 mb"/>
</tempUsage>
</systemUsage>
</systemUsage>
default config (and links to schema and such) here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With