Quantcast
Channel: Mendix Forum Questions
Viewing all articles
Browse latest Browse all 80925

Java OutOfMemory during compile

$
0
0

Hello,

After importing a module with quite a lot of java files, our project won't compile anymore: the modeler gives a 'Java.lang.OutOfMemory: Java heap space' error after pressing 'Run locally'.

After thorough investigation, I suspect the problem is the project/userlib folder has gotten too big and there are too many java files for the compiler to compile. After deleting some files from the userlib folder, the project compiles again successfully.

When the userlib folder is 79,7 mb, it won't compile. After deleting one file (doesn't matter which file), the folder is 78,2 mb and it does compile.

  • is there indeed a maximum size that the modeler can compile?
  • is there a way to increase this maximum size?
  • or is there another solution without deleting files from the userlib folder?

I'm using Modeler 5.6 on Windows 7.

thanks!


Viewing all articles
Browse latest Browse all 80925

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>