I get this too. (project with over 4,100 files).
After an investigation, (truss on solaris and such), we found that
many plugins (or it could be the JVM's fault) don't free up their
file handles, and we exhaust our ulimit of 1024 open FD.

JXR opens a ton of files.
So does other plugins.

We solved our issue by moving the jxr plugin to the top of the
<reports> list.  It seems to be ok, but only if we let it run 
first.

/* Joakim Erdfelt - Cingular Wireless */


> -----Original Message-----
> From: Robert McKinnon [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 19, 2003 8:31 AM
> To: [EMAIL PROTECTED]
> Subject: too many files open; goal maven-jxr-plugin:report
> 
> I am in the middle of a large project, so far the project has 
> roughly 2,500
> source java files.  When I run the maven goal 
> "maven-jxr-plugin:report" I
> get the following error after several hundred files have been 
> processed:
> "java.io.FileNotFoundException" .../<filename>.java (Too many 
> open files).
> 
> I was wondering if anybody has come across this same error 
> and if so what is
> the workaround?  or maybe this is a legitimate bug?
> 
> OS: Solaris
> Hardware: Sparc

Reply via email to