Java heap space issue on upgrade from 6.4 to 7.3

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

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: