I would use prefetch as 10MB bytes... I wouldn't use a prefetch of one.. that would be too slow.
I would not also use global-max-size... I want to change defaults on the broker on having every destination with a sensible max-size (such as 10MB).. if one destination falls behind you would have that destination flowing to disk only. Only reason I didn't do that is because this would represent a semanic change and I can only do that on an eventual Artemis 3.0... as some users use browser, filtering and they would prefer having all the messages in memory. (I argue about that though.. but that's where we are). So.. have a max-size per destination at 10MB Have you max-read at 10MB and prefetch at 10MB prefetch is just the blocks you use to read.. having it at one would make it calling too many tasks to depage data. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@activemq.apache.org For additional commands, e-mail: users-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact