I get
java.lang.OutOfMemoryError: Java heap space
when I try to compile an aspecj project. The project is a maven 2 project and I have set maven-compiler-plugin to use up to 2048m memory. But this error just doesn't go away. What else can I do to increase the heap space?
您可以尝试此处指定的技巧,包括
set MAVEN_OPTS=Xmx1024M
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.