开发者

Get java.lang.OutOfMemoryError: Java heap space error when compiling aspectJ project

开发者 https://www.devze.com 2023-01-22 19:41 出处:网络
I get java.lang.OutOfMemoryError: Java heap space when I try to compile an aspecj project. The project is a ma开发者_C百科ven 2 project and I have set maven-compiler-plugin to use up to 2048m memo

I get

java.lang.OutOfMemoryError: Java heap space

when I try to compile an aspecj project. The project is a ma开发者_C百科ven 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?


You could try tips specified here, including

set MAVEN_OPTS=Xmx1024M
0

精彩评论

暂无评论...
验证码 换一张
取 消