Hi. I have had a similar problem when sending a constant sequence of queries to a 3000+ documents database (generated by a web-crawler) : more and more process threads show up under ps (in Linux), and eventually the operating system reported Unable to fork new process. This would also have been a memory problem.
It seemed that something in the internal household is not able to keep up speed when constantly creating new connections, the resources are not freed fast enough. I am in support of Heike's observation, but I don't know exactly why or which components are actually causing the problem. Anders ----- Original Message ----- From: "Franosch, Heike" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Friday, February 01, 2002 9:43 AM Subject: AW: java.lang.OutOfMemory error Hi, I had the same problem when registering the database anew everytime I inserted a document. When I moved the code a bit and do a registering only once, everything worked fine. Heike > -----Urspr�ngliche Nachricht----- > Von: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED] > Gesendet am: Freitag, 1. Februar 2002 04:20 > An: xindice-user > Betreff: java.lang.OutOfMemory error > > > I am trying to insert about 4000 small XML (each about 1k) documents > into my db. I have a program which generates the XML document, the > generated XML document is then inserted using AddDocument. After > inserting about 220 XML documents, the Xindice server hangs with > "java.lang.OutOfMemoryError". Has anyone seen this error. Can anyone > help me out. > > I am using the Xindice source from CVS. > > Thanks > Mohan
