insert cause db error, often.
Friday, 3 January 2014 · 3 messages
E
easy3 Jan 2014 07:47 #
I lost faith almost. do insert doc continuously ,query often cause :
Improper use? Potential bug? Your feedback is welcome:
Contact: basex-talk at mailman.uni-konstanz.de
Version: BaseX 7.8 beta
Java: Sun Microsystems Inc., 1.6.0_24
OS: Linux, amd64
Stack Trace:
java.lang.ArrayIndexOutOfBoundsException: 4096
at org.basex.io.random.TableDiskAccess.read1(TableDiskAccess.java:196)
at org.basex.data.Data.kind(Data.java:283)
at org.basex.query.value.node.DBNode$5.next(DBNode.java:366)
at org.basex.query.value.node.DBNode$5.next(DBNode.java:356)
at org.basex.query.path.IterStep$1.next(IterStep.java:39)
at org.basex.query.path.IterStep$1.next(IterStep.java:31)
at org.basex.query.path.IterPath$1.next(IterPath.java:70)
at org.basex.query.path.IterPath$1.next(IterPath.java:41)
at org.basex.query.func.FNAggr.item(FNAggr.java:44)
at org.basex.query.expr.ParseExpr.iter(ParseExpr.java:46)
at org.basex.query.MainModule.iter(MainModule.java:96)
at org.basex.query.QueryContext.iter(QueryContext.java:309)
at org.basex.query.QueryProcessor.iter(QueryProcessor.java:81)
at org.basex.core.cmd.AQuery.query(AQuery.java:89)
at org.basex.core.cmd.XQuery.run(XQuery.java:22)
at org.basex.core.Command.run(Command.java:329)
at org.basex.core.Command.execute(Command.java:94)
at org.basex.server.LocalSession.execute(LocalSession.java:121)
at org.basex.server.Session.execute(Session.java:37)
at org.basex.core.Main.execute(Main.java:146)
at org.basex.core.Main.execute(Main.java:130)
at org.basex.core.Main.console(Main.java:90)
at org.basex.BaseX.<init>(BaseX.java:168)
at org.basex.BaseX.main(BaseX.java:38)--
此致
easy
莫愁前路无知己,天下谁人不识君。
LQ
Liam R E Quin3 Jan 2014 09:04 #
Quoted text · easy · 2 lines
On Fri, 2014-01-03 at 14:47 +0800, easy wrote: > I lost faith almost. do insert doc continuously ,query often cause :
[...]
How are you starting BaseX exactly?
How large is your database and how much memory are you giving the Java Virtual machine? Try giving it a lot more memory, to see if it's an out-of-memory error or a bug...
Liam
--
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
E
easy3 Jan 2014 16:23 #
Thanks.
with bin/basexhttp -S
java -Xmx514523136 -cp .... org.basex.BaseXHTTP -D -S--
此致
easy
莫愁前路无知己,天下谁人不识君。
Quoted text · easy · 19 lines
At 2014-01-03 15:03:48,"Liam R E Quin" <liam at w3.org> wrote: >On Fri, 2014-01-03 at 14:47 +0800, easy wrote: >> I lost faith almost. do insert doc continuously ,query often cause : > >[...] > >How are you starting BaseX exactly? > >How large is your database and how much memory are you giving the Java >Virtual machine? Try giving it a lot more memory, to see if it's an >out-of-memory error or a bug... > >Liam > >-- >Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/ >Pictures from old books: http://fromoldbooks.org/ >Ankh: irc.sorcery.net irc.gnome.org freenode/#xml >
Written for BaseX 7.7. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery