Hi Lars,
I think a had a similar problem which appears to be related to the GUI. There are two thing you could do: 1) Increase VM memory 2) Start the server and try building the index using the client The second helped in my case (memory of server: 1GB).
Hope this helps.
Kind regards,
Goetz
-----Ursprüngliche Nachricht----- Von: basex-talk-bounces@mailman.uni-konstanz.de [mailto:basex-talk-bounces@mailman.uni-konstanz.de] Im Auftrag von basex-talk-request@mailman.uni-konstanz.de Gesendet: Sonntag, 28. Juni 2015 12:00 An: basex-talk@mailman.uni-konstanz.de Betreff: BaseX-Talk Digest, Vol 66, Issue 39
Send BaseX-Talk mailing list submissions to basex-talk@mailman.uni-konstanz.de
To subscribe or unsubscribe via the World Wide Web, visit https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk or, via email, send a message with subject or body 'help' to basex-talk-request@mailman.uni-konstanz.de
You can reach the person managing the list at basex-talk-owner@mailman.uni-konstanz.de
When replying, please edit your Subject line so it is more specific than "Re: Contents of BaseX-Talk digest..."
Today's Topics:
1. Potential Bug - message from fulltext (Lars Johnsen) 2. Re: Potential Bug - message from fulltext (Christian Gr?n)
----------------------------------------------------------------------
Message: 1 Date: Sat, 27 Jun 2015 12:50:07 +0200 From: Lars Johnsen yoonsen@gmail.com To: BaseX basex-talk@mailman.uni-konstanz.de Subject: [basex-talk] Potential Bug - message from fulltext Message-ID: CAHKGOfVHwQf91Z+CiaDbPC3wY2EQ_3BHS_OUGXmzV=dXTLVZCA@mail.gmail.com Content-Type: text/plain; charset="utf-8"
When trying to to a full text index on a collection of texts, the process runs for a couple of hours with the exit message below - I think it is near completed. From the GUI, I have at least seen the progress bar get to around 80 %, so I think it is safe to assume that the error is connectedt the final stages.
The texts are unstructured and represented as one line pr. book. Here is the result from the index process. Parameters set in GUI are: Norwegian Snowball, lemmatization, diacritics. There is set aside 30GB for the GUI.
Path summary: doc(): 317259x, strings text: 317259x, leaf text(): 317259x, strings, leaf
Here is the error message:
Improper use? Potential bug? Your feedback is welcome: Contact: basex-talk@mailman.uni-konstanz.de Version: BaseX 8.2 beta 7d38949 Java: Oracle Corporation, 1.7.0_79 OS: Linux, amd64 Stack Trace: java.lang.NegativeArraySizeException at java.util.Arrays.copyOf(Arrays.java:2271) at org.basex.util.TokenBuilder.add(TokenBuilder.java:303) at org.basex.util.TokenBuilder.add(TokenBuilder.java:290) at org.basex.index.ft.FTBuilder.merge(FTBuilder.java:248) at org.basex.index.ft.FTBuilder.write(FTBuilder.java:155) at org.basex.index.ft.FTBuilder.index(FTBuilder.java:94) at org.basex.index.ft.FTBuilder.build(FTBuilder.java:102) at org.basex.index.ft.FTBuilder.build(FTBuilder.java:1) at org.basex.data.DiskData.createIndex(DiskData.java:195) at org.basex.core.cmd.ACreate.create(ACreate.java:117) at org.basex.core.cmd.CreateIndex.run(CreateIndex.java:62) at org.basex.core.Command.run(Command.java:398) at org.basex.core.Command.execute(Command.java:100) at org.basex.core.Command.execute(Command.java:123) at org.basex.gui.dialog.DialogProgress$1.run(DialogProgress.java:178)
Regards Lars G Johnsen National Library of Norway
basex-talk@mailman.uni-konstanz.de