[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] re: Ant taskdef problem

You asked about running out of memory when running ajc with Ant.
You'll need to increase the memory available to Ant.

From aspectj1.1/doc/ant-tasks.html:
------
Users email most often about the ajc task running out of memory.  This is
not a problem with the task; some compiles take a lot of memory,
often more than the same compiles using javac.  
Forking is not supported in this release, so the only solution is to 
increase the memory available to Ant (see the Ant documentation, searching for ANT_OPTS,
the variable they use in their scripts to pass VM options, e.g., ANT_OPTS=-Xmx128m). 
------

Wes