문제

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