此内容没有您所选择的语言版本。
2.9. Optimizing Memory Usage in the Broker
Optimize message paging 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
By setting the page size attributes on the
policyEntry
element, you can tune the message paging to match the amount of memory available in the broker. For example, if there is very large queue and lots of destination memory, increasing the maxBrowsePage
attribute would allow more of those messages to be visible when browsing a queue.
Destination policies to control paging 复制链接链接已复制到粘贴板!
复制链接链接已复制到粘贴板!
The following destination policies control message paging (the number of messages that are pulled into memory from the message store, each time the memory is emptied):
maxPageSize
- The maximum number of messages paged into memory for sending to a destination.
maxBrowsePageSize
- NoteThe number of messages paged in for browsing cannot exceed the destination's
memoryLimit
setting. maxExpirePageSize
- The maximum number of messages paged into memory to check for expired messages.