[Tool] GD Stash

yes, I even added a line to it for the Tributes :wink:

Thanks! :slight_smile:

Can anyone help me with a problem I’m having.

Whenever I load database I get a java.lang.OutOfMemoryError: Java heap space error.

I have double checked my game install patch and saved game path. Still getting the same error every time I attempt to load the database.

Are you using Java version for 64-bit if your OS is 64-bit?
Are you using the .bat file to run the program? is it using the proper path to the Java (64-bit) version?
You might need to edit the .bat file to set the default memory sizes used.

Not really sure why this still happens. I reworked the logic (by creating my own buffer class) in order to work around an issue in Oracle’s 32bit JVM. When I run it with the 32bit JVM, I do not get the error any more, so it should have solved the issue.

In any case, there are several options here

  • assuming you are on a 64bit OS, make sure to use the 64bit JVM
  • try the .bat file, if it still happens make sure you have enough free memory (1GB is sufficient)
  • use a different 32bit JVM that does not have the error, e.g. IBMs (harder to get though)
  • use the executable version

I was using the .jar file to run the program. Used .bat and everything is working perfectly. Thank you.

Hehe, cool, but… it will be better like this:

TXT_CHAR_POINTS_TRIBUTE = Ilość Trybutów

If you could change this one in the next release it will be cool :slight_smile:

Oh and thanks again for the great tool! I’m using it since… hmm… version 0.91 :wink:

took that from the Polish translation, will replace it :wink:

Version 1.0.6a released

bugfix for Russian translation

No idea why, but it threw String’s indexOf logic off, resulting in some wrong strings for tags

Thanks, mate, now importing fine :slight_smile:

I have pmade what you say and replace the file from the old folder and i have a lots of error and so on !!! I fear from loosing everything …

whats the problem ? I have to reload something ?

Version 1.0.6b

Corrected fix for the russian localization issue, 1.0.6a worked, but for the wrong reason :wink:

Reinstalled java jre, restarted pc, tried 32 bit version, tried 1.0.6b - still the same error. Disabled UAC to see if it’s not a permission problem since it cannot create the directory.

The weird thing is that these two errors just don’t go together:
ERROR XBM0A: The database directory ā€˜C:\Users\Richiks\GDStash\db’ exists.
java.sql.SQLException: Failed to create database ā€˜C:\Users\Richiks\GDStash\db’

I even downloaded minecraft to see if it runs since it’s based on java and that game was working.

when you say you tried the 32bit version you talk about the executable ?

If that has the same problem, then it must be something on your PC, the two (.jar and .exe) have nothing in common (but the source code…), so the problem is not Java related.

Here’s what I had posted for someone else and this helped them to resolve their issue.

Also, from your post it is unclear exactly how you are launching the program. You really should use the script file that mamba provides in the GDStash directory.

It seems like it would be best to provide the exact steps you are using to launch the program.

I’ve also tried running the bat, posted like 2 pages back, and doesn’t seem to do anything else than giving the errors in derby.log file.

Java version:

java version ā€œ1.8.0_111ā€
Javaā„¢ SE Runtime Environment (build 1.8.0_111-b14)
Java HotSpotā„¢ 64-Bit Server VM (build 25.111-b14, mixed mode)

@Mamba yes, the same error occured when I ran the 32 bit exe of yours.

does the GDStash dir exist ? Does the db subdir exist ? I think you said the latter did not exist, despite what the first message says

Try opening a command prompt and running the .bat from there to see if that gives you some more error messages (compared to double-clicking the .bat file)

Ah I didn’t see that post.

What I recommend is opening a command prompt. You can do that by typing in cmd in the run field -> Windows button should pop up a search box.

Then change directory to where the GDStash .bat file is located.

At the command prompt, type the .bat file and hit Enter.

Hopefully more information will be provided after you try to execute the .bat file in the command window.

I decided to make a new user account and gdstash launches through the .bat now. Thanks for attempting to resolve the issue though, Mamba & ibugsy :slight_smile:

Odd. Glad it works now.
Wast that other account a Microsoft account or local to the computer? And is the new one a Microsoft account or local?