Hello all.
I've tried to execute query
for $i in collection('stars')/csv/record
return insert node (attribute {'id'} {generate-id()} ) into $i
with this file (1000000 strings with 3 integer in any in csv format). I had a hang of basex and onece got the following:
Exception in thread "Thread-526" java.lang.OutOfMemoryError: Java heap space
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: GC overhead limit exceeded
at java.awt.EventQueue.postEvent(EventQueue.java:261)
at java.awt.EventQueue.postEventPrivate(EventQueue.java:215)
Exception in thread "AWT-XAWT" java.lang.OutOfMemoryError: GC overhead limit exceeded
Exception in thread "SIGTERM handler" java.lang.OutOfMemoryError: GC overhead limit exceeded
and again - the folowing:
Exception in thread "AWT-XAWT" java.lang.OutOfMemoryError: Java heap space
at java.util.logging.LogRecord.<init>(LogRecord.java:151)
at java.util.logging.Logger.log(Logger.java:607)
at sun.awt.X11.XToolkit.processException(XToolkit.java:535)
at sun.awt.X11.XToolkit.run(XToolkit.java:614)
at sun.awt.X11.XToolkit.run(XToolkit.java:543)
at java.lang.Thread.run(Thread.java:679)
Hang was even when I changed generate-id() to "1". Seems like a bug.
Markin Alex.