ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Stagner" <dstag...@nmdp.org>
Subject Re: out of memory error using ant/xalan
Date Thu, 31 Jan 2002 15:21:32 GMT
ul73 wrote:

> hi,
> 
> i am using
>   ant 1.4.1
>   xalan-j_2_3_D1
>   xerces-2_0_0
> 
>   jdk 1.3.1 and jdk 1.4.0-rc
> 
> 
> my project does lots of xsl transformation, and I always run into
> the following error:
> 
> 	BUILD FAILED
> 
> 	java.lang.OutOfMemoryError
> 
> is this problem known?
> 
> i am using a styleshet to generate ant project files:
> 
> 	build
> 		-> (1-1)
> 			generates "modules_to_build"
> 				-> (1-n)
> 					generates "moduleX_build_file"
> 
> this "n"-moduleX_build_file are started using <ant
> antfile="moduleX_build_file"/>.
> if i just start 1 or 2 moduleX processes - no problem. as soon as it
> generates 3 or
> more moduleX process i get the memory error.

You didn't say what operating system you're running on.  That's a 
strange error for any Unix... are you using Windows 98/ME?  If so, i'll 
bet you're running out of low 640k somehow, the DOS legacy of that junk. 
I've seen W98 boxes with 256M that couldn't run two applications at 
once.  Try it under NT/2000/XP and the problem should go away.

If you're actually running some real OS like Unix or an NT-derived 
Windows, then look at your system process management tools and see if 
there is some control limiting maximum memory to a process, or if there 
is a well-known memory leak associated with Java on that platform.

-- 

David Stagner

National Marrow Donor Program
3001 Broadway Street NE
Broadway Ridge Suite 500
Minneapolis, MN  55413

Email: dstagner@nmdp.org



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message