Is it java that's out of memory? I had a problem like this and need to set the memory using mx256 command... see similar post: http://www-128.ibm.com/developerworks/forums/dw_thread.jsp?forum=176&thread=48015&cat=10
Brendan On 14/12/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Hello, I am stuck with an OutOfMemoryError. We have around 100 xml documents stored in two collections which located in one xindice. Biggest document is around 800k(not that monster big, right?). I would say it worked well. But if I query them with some general key-words. Xindice will throw out the following outOfMemoryErrors, and really exhausted the server. So I had restart tomcat in that case. Any idea or hints to resolve it or handle the error. I appreciate the experience you share. Regards, ---------------------------------------- Caused by: org.xmldb.api.base.XMLDBException: Failed to execute command 'Query' on server: http://localhost:9971/xindice/, message: java.lang.Exception: java.lang.OutOfMemoryError at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:124) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.query(CollectionImpl.java:515) at org.apache.xindice.client.xmldb.XindiceCollection.query(XindiceCollection.java:259) at org.apache.xindice.client.xmldb.services.QueryService.query(QueryService.java:90) ... 5 more Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.Exception: java.lang.OutOfMemoryError at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java) at org.apache.xindice.client.xmldb.xmlrpc.CollectionImpl.runRemoteCommand(CollectionImpl.java:112) ... 8 more