Java Heap Space Error While Running App in Local

0
Dear Experts,    When I'm running the Application, I'm getting the Java Heap Space error in console and application is not running. These are the steps which i tried: 1. Increased the Java heap space size to 1024MB in server setting configurations. 2.  Updated the JDK version to 21. 3. Restarted my pc multiple times   When i delete the existing data folder in application and run It's working fine, After running the application multiple times, Again getting the same error and not able to run the application. I'm using mendix 10.11.0.  
asked
1 answers
1

Hi Naga,

 

Honestly your 2nd picture is blur I could not see the log clearly, but last time I meet Java Heap Space error is cause by I have pulled too much text data trying to convert them into objects to be processed and committed.

 

You can try monitor your device memory in task manager, see if what is happening. I suspect there is microflow or any after startup microflow is having too much data processing in once when your application startup after multiple runs.

 

If your problem is the data being in transaction is too much until reach your device limit, you can try to limit the microflow call handle chunk of data 1000-5000 per loop, so the microflow does not over your device's memory limit.

answered