maven-mvnd icon indicating copy to clipboard operation
maven-mvnd copied to clipboard

Error occurred during initialization of VM , Could not reserve enough space for 2097152KB object heap

Open TOP-LH opened this issue 2 years ago • 1 comments

When I inputmvnd -v, I get an error, how do I fix it?

Screenshot image

Log message Error occurred during initialization of VM , Could not reserve enough space for 2097152KB object heap

TOP-LH avatar May 07 '22 06:05 TOP-LH

Try modifying the [MVND_HOME]/conf/mvnd.properties to change the mvnd.minHeapSize and mvnd.maxHeapSize properties to proper values. This has been for the next release already (see https://github.com/apache/maven-mvnd/issues/560).

gnodet avatar May 10 '22 07:05 gnodet