Hi Elangovan,
I am using BaseX to evaluate Xpaths (Xqueries) for larger size of XML files. I have created BaseX database initially using CreateDB.execute(ctx) API.
What do you mean with "CreateDB.execute(ctx) API"? Could you provide us with a minimized example?
Best, Christian
And every time when I need to evaluate Xpath I open database using Open("database name") API and get a context. Using this context I evaluate the xpath. Once I complete my evaluation I close the context using Close.execute(ctx) API.
My application is running without any issues. If the server runs for few weeks, I have observed "Out Of Main memory error" while updating the BaseX database.
Could any one please help me in this issue. Is there any possibility of memory leak in BaseX in my work flow?
Note: I am using same CreateDB(...) API to update / overwrite the existing Database.
XML file Size may vary from 3Mb to 10 Mb.
-- Regards, Elango.
BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk