Skip to main content

ant fileset java.lang.OutOfMemoryError

1 reply [Last post]
1inmillion
Offline
Joined: 2008-12-23

Hi all,

I am using ant to build a war file.

The part of build.xml file is:

fileset: Setup scanner in dir /idisk/scr/7/linux32_fixscr/isode/tools/admintool/ldex/src with patternSet{ includes: [] excludes: [**/*.java, **/*.classe, **/.SRCS_CO/**, **/RCS/**, **/samples/**] }

It take lot of time and reports java.lang.OutOfMemoryError after.

After setting the following setenv ANT_OPTS="-Xms256m -Xmx256m" the build hung instead of java.lang.OutOfMemoryError in the same place.

CAn you please suggest me the ways to get out of this error?

REgards,
Naga

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
ramzi22
Offline
Joined: 2009-03-15

Hey, I am having a very similar problem can anyone shed some light on this?