M2EE : Java Heap Space

0
Hi MX Expert,   We are building a native app using Mendix. But when we deploy the app it getting error M2EE : Java Heap Space The detail log is attached.   We even try to deploy the app to the new sandbox. But still get the same error. We use Mendix Pro version 8.18.5   Please help :)   Thanks and Regards, Hari Cahyadi
asked
5 answers
0

Hi,

I don’t see any logs, can you add it.

answered
0

Sorry I forgot to attach the log.

Here is the log attached.

answered
0

Hi hari,
As I can see  your log java heap space for sandbox mendix will give some default size 
available for sandbox you have purchase a license node to avoid java heap space
Node permission  support ticket link https://support.mendix.com/hc/en-us

 

answered
0

I can’t see the full stacktrace, but it looks like your app model contains too many components (also known as documents internal to Mendix). At startup the app container runs out of memory while loading your model. I suspect you have a very large document (Microflow, domain model, etc). It’s not clear what exactly.

 

A licensed node can help but is not the only solution :) 

answered
0

Hi Narendran and Xiwen,

 

Thanks for your advice.

As a workaround I’ve deployed my apps in my SAP Cloud Platform Account with 1 GB of memory and now the app can run well.

Actually I’m wondering how to find the root cause?

Since my domain model is just a simple one.

And Also wondering why this error is come up during the deployment of our app.

Not during the user are using my app.

 

Any tips on how to trace which document can cause the issue?

 

Thanks and Regards,

Hari Cahyadi

answered