The project occupies too much memory, resulting in memory overflow during compilation
1. Modify the compilation space
location: settings -> Compiler -> Build process heap size (Mbytes):
Note: I change 700 to 1000 and just run it again.
Read More:
- JAVA error: java.lang.OutOfMemoryError:GC overhead limit exceeded
- Error:java: OutOfMemoryError: insufficient memory [How to Solve]
- [Solved] Java.lang.ClassCastException: [Ljava.lang.Long; cannot be cast to java.util.List
- [Solved] Hibernate Error: java.lang.StackOverflowError at java.lang.Integer.toString(Integer.java:402)
- [Solved] nacos Startup Error: nested exception is java.lang.RuntimeException: java.lang.RuntimeException: [db-load-error
- [Solved] java: Internal error in the mapping processor: java.lang.NullPointerException
- [Solved] java Internal error in the mapping processor java.lang.NullPointerException
- [Solved] java Internal error in the mapping processor java.lang.NullPointerException
- [Solved] JAVA Project Import jstl Error: java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator
- java: java.lang.IllegalAccessError: class lombok.javac.apt.LombokProcessor (in unnamed module @0x590
- [Solved] JAVA OpenCV Startup Error: java.lang.UnsatisfiedLinkError
- Java uses class array to report error Exception in thread “main” java.lang.NullPointerException solution
- [Solved] Java 9 reflection error: java.lang.reflect.InaccessibleObjectException
- Java error: java.lang.NoSuchMethodError
- [Solved] JAVA fx Error: java.lang.instrument ASSERTION FAILED ***: “!errorOutstanding“ with message transform
- [Solved] Hbase-shell 2.x Error: Unhandled Java exception: java.lang.IncompatibleClassChangeError: Found class jline.Terminal…
- [Solved] IDEA springboot Startup Error: java.lang.UnsatisfiedLinkError: no tcnative-1 in java.library.path
- How to Solve JVM Common Errors: outofmemoryerror & stackoverflowerror
- [Solved] IDEA startup Error: Java lang.StackOverflowError
- [Solved] JAVA Error: Error occurred during initialization of boot layer java.lang.module.FindException