Hi Ramesh,
I've run your code example, using my own 123.xml document, and it works fine in my environment (the XMLDBCollection database instance is eventually removed). Please provide us with even more details if you want us to reproduce the issue.
Christian
On Tue, May 25, 2010 at 1:26 PM, Ramesh G ramesh.gubbala9@gmail.com wrote:
Hi Christian, Thanks for your help. When using xmldb API, OutOfMemoryError occurred. After setting up Xmx option, this problem was rectified. But how can I delete those files created in BasexData directory when using XQJ API. Thanks & Regards, Ramesh .G
On Tue, May 25, 2010 at 4:03 PM, Christian Grün christian.gruen@gmail.com wrote:
Ramesh,
When I try to Query an XML file using XQJ ,every thing goes fine but a set of ".basex" files in BasexData directory. The thing is that I want to delete these files after query processing is done.Please help in doing this.
Hm, so when does the OutOfMemory problem occur? Have you been successful using the Xmx flag? Christian