As a follow up to https://groups.google.com/forum/#!topic/axonframework/gNLd0dpSDlM we encounter another OutOfMemory error in our production setup.
No. events: 19 million
No. tracking processor threads: 8
Batch size: 1000
Java version: 8
Axon version: 3.2.3
Max Java heap: 2Gb
When the query store is nearly finished reading events it generates an OutOfMemory error. We see the same behavior across multiple query stores, and the error seems to pop up only if multiple query stores are processing events at the same time (on the same host).
Attach you 'll find some screen shots:
HeapUsage - Notice the major increase in the heap size
HeapDump1 - Notice the part of the heap the EmbeddedEventStore claims
HeapDump2 - EmbeddedEventStore expanded
If more info is needed, we 're happy to share it.