Re: [activemq-user] OutOfMemoryError with ActiveMQ3.0
Matias Otero a ?crit :
>ActiveMQ3.0 has crashed on me with an OutOfMemoryError after having been
>running for about a week. There is very little information in the log file:
>The maximum heap size is set 512Mb (which is the default I believe), and I
>am using the default configuration supplied. Are there any known issues with
>the default configuration?
I don't know what is the default config, but what you described looks
like a "in-memory" persistence or message TTL(Time To Live) issue.
If you're using persistence and if you're using ActiveMQ without a DB
for message persistence and/or if the message TTL is set to a big big
value or infinite (0 => infinite, and this is the default for what i
remember), your broker will store all the messages "in-memory" until
- check your config for the "<persistence>" block
- check if you are using persistence or not in you send / publish
- check if you set a TTL in your send / publish method call