Hallo xindice-dev,
There is a bug resulting from not closing the input streams in org.apache.xindice.tools.command.AddMultipleDocuments
Thanks for finding a bug.
Actually this command does not even need to read the file at all, so I removed all related code. It should also use less memory now.
Please replace the appended class (I only added the insr.close(); ).
Sorry, but I'm not capable in creating nice diff files with eclipse (Does someone knows a tool to do that?).
In eclipse's project explorer, if you have integration with CVS, look for "Team -> Create Patch" context menu on modified file (disclaimer: I use command line CVS client myself).
Vadim