You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set env variable MAVEN_OPTS to "-Xmx8192m" and it still crashes on my project with "java.lang.OutOfMemoryError: Java heap space". This project uses This project 1024m for maven.compiler.maxmem and javadocs and those plugins do fail without those settings. So I don't think the macker-maven-plugin is honoring the heap space set via MAVEN_OPTS.
The text was updated successfully, but these errors were encountered:
As Macker is using the GPL, we have to invoke it in a separate process and gather the outputs. Looking into the code, there seems to be an undocumented maxmem parameter that could help you (see https://github.com/andrena/macker-maven-plugin/blob/master/src/main/java/de/andrena/tools/macker/plugin/ForkedMacker.java line 82). Try setting it to something like "8192m" and see if it works. If it does, I'll include it in the parameter documentation, along with the identified parameters from #3.
I set env variable MAVEN_OPTS to "-Xmx8192m" and it still crashes on my project with "java.lang.OutOfMemoryError: Java heap space". This project uses This project 1024m for maven.compiler.maxmem and javadocs and those plugins do fail without those settings. So I don't think the macker-maven-plugin is honoring the heap space set via MAVEN_OPTS.
The text was updated successfully, but these errors were encountered: