DO NOT REPLY [Bug 33162] - OutOfMemoryException when compiling a large project

2005-03-01 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33162





--- Additional Comments From [EMAIL PROTECTED]  2005-03-02 00:32 ---
The ammount of physical RAM in your machine has very little to do with how much
memory is actually allocated to the JVM heap. I supposed you could view it as
the upper bound on the heap, but that's not even really true because the host OS
needs some, as do other procs on the box, etc.

Try fiddling with the -Xmx options to increase the maximum heap size. I'm not
sure what the default max heap size is, and it might even vary by vendor (and
perhaps even amongst different VMs from the same vendor).

For a point of reference, to build WebSphere we use -Xmx512M

I've also been able to make javac run out of stack space, but there's a
different flag for that.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [PATCH] fix typo in script documentation

2005-03-01 Thread Matt Benson
Patch committed; thanks.

-Matt

--- "Shatzer, Larry"
<[EMAIL PROTECTED]> wrote:

> It is supposed to be importClass(Packages.org...)
> not
> importClass(Package.org...).
> 
> Also fix spot to use ' and not "´"
> 
> -- Larry
> 
> > Index: docs/manual/OptionalTasks/script.html
>
===
> RCS file:
>
/home/cvspublic/ant/docs/manual/OptionalTasks/script.html,v
> retrieving revision 1.21
> diff -u -r1.21 script.html
> --- docs/manual/OptionalTasks/script.html 19 Nov
> 2004 09:07:11 -   1.21
> +++ docs/manual/OptionalTasks/script.html 1 Mar 2005
> 23:00:01 -
> @@ -237,13 +237,13 @@
>
>  
>  
> -We want to use the Java API. Because we don´t
> want always typing the package signature
> +We want to use the Java API. Because we don't
> want always typing the package signature
>  we do an import. Rhino knows two different methods
> for import statements: one for packages
>  and one for a single class. By default only the
> java packages are available, so
>  java.lang.System can be directly imported
> with importClass/importPackage.
> -For other packages you have to prefix the full
> classified name with Package.
> +For other packages you have to prefix the full
> classified name with Packages.
>  For example ant´s FileUtil class can be
> imported with
>
-importClass(Package.org.apache.tools.ant.util.FileUtils)
>
+importClass(Packages.org.apache.tools.ant.util.FileUtils)
>  
>  The