Question

We're using horetq-core-client 2.4.0.Final, embedded, and sending String message about 300 chars in size. If we don't dequeue message, what happens to the memory usage of hornetq? Is it capped at some point and future sends to the queue, the journal will just continue to grow in size (and not heap)? Is there a way to tune the memory usage for cases where there may be a period of messages not being consumed so we don't get out of memory errors?

Was it helpful?

Solution

Take a look at paging. You can configure paging and make the disk grow.

There are some considerations on the user manual..

http://docs.jboss.org/hornetq/2.4.0.Final/docs/user-manual/html_single/index.html#paging

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top