Pocket Plane Group

Friends and Neighbors => Near Infinity => Topic started by: Salk on August 26, 2007, 02:48:49 AM

Title: Error reading Dialog.tlk
Post by: Salk on August 26, 2007, 02:48:49 AM
Hello!

When I try reading the Dialog.tlk of my BGT game, I get the following error message:

java.lang.OutOfMemoryError: Java Heap Space

Any clue?
Title: Re: Error reading Dialog.tlk
Post by: FredSRichardson on August 27, 2007, 02:47:02 PM
Oh.. no I'm not sure.  Have you tried DevSin's NI?  That's the next version going up onto SourceForge (I'm stilling nit-picking through the code).

-Fred
Title: Re: Error reading Dialog.tlk
Post by: devSin on August 28, 2007, 02:19:32 AM
Java memory management will just arbitrarily suck where it wants; there's nothing in NI that will really affect it (some of the stuff isn't efficient, especially BAM handling, but who cares). Try launching the VM with -Xms 64M -Xmx 128M (someone throw up a link to Jon's .bat that does this automagically on Windows).
Title: Re: Error reading Dialog.tlk
Post by: FredSRichardson on August 28, 2007, 08:49:43 AM
This much I can do ;)

There are two bat files on this page:

http://www.idi.ntnu.no/~joh/ni/download.html

I think the one you want is http://www.idi.ntnu.no/~joh/ni/NearInfinity128.bat which contains:

Code: [Select]
java -Xmx128M -jar NearInfinity.jar
Title: Re: Error reading Dialog.tlk
Post by: Salk on August 31, 2007, 12:32:59 AM
Okay, thanks people!  ;)