[m-rev.] for review: increase javac heap size

Ian MacLarty maclarty at csse.unimelb.edu.au
Tue Aug 18 14:44:44 AEST 2009


On Tue, Aug 11, 2009 at 1:19 PM, Peter Wang<novalazy at gmail.com> wrote:
> Branches: main
>
> Pass a flag to the Java compiler to increase the maximum heap size of the
> JVM.  The default size (at least with Sun Java) is too small to build the
> Mercury standard library on 32-bit JVMs.  We choose a heap size of 256 MB
> currently.  (There doesn't seem to be an option to just switch off the
> maximum.)
>
> As the flag may not work with non-Sun compilers, we have to check during
> configuration whether it's accepted by the detected Java compiler.
>

Looks fine to me.

Ian.

--------------------------------------------------------------------------
mercury-reviews mailing list
Post messages to:       mercury-reviews at csse.unimelb.edu.au
Administrative Queries: owner-mercury-reviews at csse.unimelb.edu.au
Subscriptions:          mercury-reviews-request at csse.unimelb.edu.au
--------------------------------------------------------------------------



More information about the reviews mailing list