The project executes MVN clean install successfully.
an error is always reported during the debug startup in the idea,
a compilation error is reported: Maven resources production: XXX Java.nio.file.invalidpathexception:
java.lang.OutOfMemoryError: Java heap space
↓↓↓↓↓↓↓↓
After trying all kinds of methods, I still don’t know
Select build -> on the idea directory; Rebuild project (build -> rebuild project) and idea recompile the project
Perfect solution
Similar Posts:
- [Solved] java.lang.OutOfMemoryError: GC overhead limit exceeded
- Investigation on the error caused by: java.lang.outofmemoryerror: Java heap space of Tomcat Java application in production environment
- tomcat PermGen space
- Java.lang.outofmemoryerror: permgen space and its solution in eclipse + Maven environment
- eclipse.ini/myeclipse.ini -Xms,-Xmx,-PerSize
- Eclipse failed to create the java virtual machine [How to Solve]
- NPM Command Error: Allocation failed – JavaScript heap out of memory
- [Solved] Git Couldn’t reserve space for cygwin’s heap
- [Solved] A fatal error has been detected by the Java Runtime Environment:
- Error:java: javacTask: source release 8 requires target release 1.8