maximum java heap size

0
Would increasing the maximum java heap size in the service console improve application performance. We have some long running microflows and takes a  while to process with a lot of objects being created in the database. Would increasing the java heap space help with this. Also any ways to improve performance?
asked
1 answers
0

Hi Brio,

Increasing heap memory can help a bit. However if you need to process a lot of objects at once, especially if that processing involves creating new bojects) then Mendix recommends to do this processing in batches or chunks.

There are several guides on how to do this, one here: https://docs.mendix.com/howto/monitoring-troubleshooting/detect-and-resolve-performance-issues#batches
In my experience batching can offer significant speed up sometimes up to 10x faster execution.

Hope this helps,
-Andrej

answered