Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top