83K * 20 in one String perhaps overflows the memory allowed your VM. See
http://marc.theaimsgroup.com/?l=xindice-users&m=107604913129099&w=2 <http://marc.theaimsgroup.com/?l=xindice-users&m=107604913129099&w=2>
May be able to get it to do what you want by passing the VM args to increase memory limit.
-Terry
Julie McCabe wrote:
Hello,
I am using xindice 1.0 on linux Red hat 9, tomcat 4.1.27. I have 20 documents each of size 83k in a collection. When I use the command line
xindice xpath -c /db/config -q "/"
it prints all the documents out.
However when I perform the same xpath query using java I can perform it once and then after I get a java.lang.OutOfMemory error. Any ideas why this is?
I am using the method getContentAsDOM in XMLResource to retrieve the documents.
Thanks
Julie
