Java heap space issue on upgrade from 6.4 to 7.3

1
One of our apps encountered out of memory when running a scheduled event after we upgraded the app. Anyone else had this?
asked
1 answers
4

An major Mendix upgrade can have effect on the memory because Mendix runtime is storing more info in the memory. 

The question is first what is just 1 scheduled event and what is it doing? If you retrieve for example all rows with a database retrieve it can happen that the data is taking more java space that you're app has available. It is better to retrieve and process in batches, instead of retrieving and processing all X rows, process this per 200 or 300 rows. Have a look at:

https://modelshare.mendix.com/models/3e805078-7b0f-478c-9ffa-0e6b3a8dcf09/batch-process-3

answered