Hi Arto,
Maybe the heap setting we used for creating the Windows executable was too large for 32 bit systems (we had a similar issue with the batch scripts). I’ve just adjusted the value [1]. Could you check if the problem persists with the latest snapshot [2]?
If not, could you specify what »crash« means? How large is the file you want to open in the editor? It’s generally possible to open pretty large files as text in BaseX (the memory consumption of an opened file will not be larger than the actual file size), but if it comes close to the JVM heap size, it might be better to create a database from this file instead. I could think about adding a size warning before opening the file in the editor.
Best, Christian
[1] https://github.com/BaseXdb/basex-dist/commit/4adda691c9730d0dba7442ae25acc26... [2] http://files.basex.org/releases/latest/
On Wed, Nov 15, 2017 at 12:07 PM, Arto Viitanen arto.viitanen@microteam.fi wrote:
I have BaseX 8.6.7 on 32 bit Windows 10. When I tried to load an XML file yesterday to editor, the program crashed. I tried several times, and then reinstalled BaseX from net. This did not help. The program crashes on file dialog. If I open the file with double click, the file opens. Then I reinstalled java, but this did not help either.When I used cmd window, and run “java -cp BaseX.jar org.basex.BasexGUI”, it worked. So it seems problem is on Java version embedded.
Windows is 10.0.16299.19, and Java that works is 1.8.0_144-b01
Arto Viitanen
Microteam Oy
Haarlankatu 4B
33230 Tampere