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

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?

-------------Problems Reply------------

You could try tips specified here, including

set MAVEN_OPTS=Xmx1024M

Category:compilation Views:1 Time:2010-11-02

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.156 (s). 11 q(s)