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?

有帮助吗?

解决方案

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

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top