Hi,

> I changed the Xmx in the C:\aspectj1.7\bin\ajc.txt

I presume you mean ajc.bat ?

When you say:

> Everything compiles correctly.  However, when I try to run the project
this is the error message (and there is no error log):
>[error] AspectJ 1.7.1 ran out of memory during compilation:

So everything doesn't compile correctly?  I'm trying to understand your
build - are you doing a javac build of your code and all is well, then a
binary weave with aspectj and that fails? Or are you compiling everything
all together from sources? (java and aspects)

Once I know which I can probably advise you further.

cheers,
Andy



On 22 January 2013 10:54, aryenneb <aryen...@hotmail.com> wrote:

> Hi,
> I changed the Xmx in the C:\aspectj1.7\bin\ajc.txt
> I changed line 10 in that file from:
>
> "$JAVA_HOME/bin/java" -classpath
> "$ASPECTJ_HOME/lib/aspectjtools.jar;$JAVA_HOME/lib/tools.jar;$CLASSPATH"
> *-Xmx64M *org.aspectj.tools.ajc.Main "$@"
>
>
> to:
>
> "$JAVA_HOME/bin/java" -classpath
> "$ASPECTJ_HOME/lib/aspectjtools.jar;$JAVA_HOME/lib/tools.jar;$CLASSPATH"
> *-Xmx1024M *org.aspectj.tools.ajc.Main "$@"
>
> Thanks for any help
> Aryenne
>
>
>
> --
> View this message in context:
> http://aspectj.2085585.n4.nabble.com/Memory-problem-when-using-aspectj-tp4650733p4650738.html
> Sent from the AspectJ - users mailing list archive at Nabble.com.
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@eclipse.org
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/aspectj-users

Reply via email to