[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[aspectj-users] re: Ant taskdef problem
- From: isberg@xxxxxxxx
- Date: Sat, 21 Dec 2002 16:19:51 PST
- Delivered-to: email@example.com
You asked about running out of memory when running ajc with Ant.
You'll need to increase the memory available to Ant.
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).