Re: [abc-users] java.lang.OutOfMemoryError when building abc extensions

From: Eric Bodden <eric.bodden_at_mail.mcgill.ca>
Date: Tue, 22 Apr 2008 12:54:42 -0400

Hi Mohamed.

Line 79 calls a "jastadd" task which, to my best knowledge, does not
have any memoryMaximumSize parameter. I think the only way out then is
to give Ant itself more memory. I think you can set the env var
ANT_OPTS to e.g. -Xmx256M and then Ant should pick this up when being
called from the command line.

Eric

2008/4/22 Mohamed ElBendary <mohamed.elbendary_at_gmail.com>:
> Hello abc users,
>
> I'm trying to build abc extensions using Eclipse 3.3 under Windows XP.
> Please find build output below. Upon the OutOfMemoryError I increased the
> "memoryMaximumSize" attribute in abc-ja-exts/build.xml to "1024M" but still
> I'm getting the same error at exactly the same spot. Help with this is
> greatly appreciated.
>
>
> Buildfile: C:\Documents and
> Settings\admin\workspace\abc-1.3.0\abc-ja-exts\build.xml
> tm-parser:
> [java] Parser specification JavaParser.beaver need not be regenerated
> eaj-parser:
> [java] Parser specification JavaParser.beaver need not be regenerated
> tm-jrag:
> [echo] Generating to C:\Documents and
> Settings\admin\workspace\abc-1.3.0\abc-ja-exts/generated...
> [jastadd] generating node types and weaving aspects
>
> BUILD FAILED
> C:\Documents and
> Settings\admin\workspace\abc-1.3.0\abc-ja-exts\build.xml:79:
> java.lang.OutOfMemoryError: Java heap space
>
> Total time: 19 seconds
>
> Mohamed
>
> --
> ________________________________
> Mohamed ElBendary
> PhD. Candidate
> Computer Science Department
> University of Wisconsin-Milwaukee
> ________________________________

-- 
Eric Bodden
Sable Research Group
McGill University, Montréal, Canada
Received on Tue Apr 22 2008 - 17:54:55 BST

This archive was generated by hypermail 2.2.0 : Wed Apr 23 2008 - 15:10:11 BST