AnsweredAssumed Answered

Maven error: could not reserve enough space for xxx object heap

Question asked by soulcollector on Oct 20, 2016
Latest reply on Oct 24, 2016 by kaynezhang

Hello

I was following this good tutorial to get started with Alfresco and custom content models.

Everything ok until i decided to use Eclipse and imported my project. Since then, maven can't compile anymore, not even if i copy/paste the exact xml files (i retried to follow it without reading), or even if i change folder and start it anew.

Error "could not reserve enough space for xxx object heap" comes when surefire starts to test and prevents me from starting any project. Trying to set the MAVEN_OPTS variable was useless at any amount of memory specified. Anyone knows how to fix this? Thank you.

Outcomes