[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [aspectj-users] javac ant task memory usage
|
Typically when running under eclipse the iajc ant task should be
forked to avoid the JDT classes in a parent loader (eclipse 2.x bug).
When forking, increasing the memory available to Eclipse will decrease
the memory available to iajc, causing OutOfMemory errors.
If running unforked in 3.x, I wonder if there's some leak when
doing multiple compiles; is that your scenario? A single compile
shouldn't take much more memory than ajc itself.
Wes
> ------------Original Message------------
> From: Łukasz Skowroński <ls26990@xxxxxxxxxx>
> To: aspectj-users@xxxxxxxxxxx
> Date: Wed, Aug-4-2004 12:04 PM
> Subject: [aspectj-users] javac ant task memory usage
>
> Hello,
> I have two Eclipse projects which have circular classpath
> dependency on
> each other. Compiled class files take up about 3.5MB on the disk (for
> each
> project). I can build them with AJDT if I start eclipse with -Xmx400M
> option. I could also build them with ant in Eclipse if I don't use
> AspectJ.
> However, when I switched build.compiler property to
> Ajc11CompilerAdapter I
> couldn't build my projects because of OutOfMemory errors. I ran Eclipse
> with -Xmx1550M and still got OutOfMemory. Is it expected or there could
> be a
> bug?
>
> Regards,
> Luke
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/aspectj-users
>