ORIGINAL: gwosborn
Floyd and Damian,
Thanks again for this great program. I was previously running version 1.2 but now after downloading the new version and replacing the witptracker.jar file I am getting the below error. Was I supposed to replace any of the other files? Or how do I modify the .bat memory settings to -Xms384 -Xmx512?
Any help would be appreciated.
C:\Matrix Games\War in the Pacific Admiral's Edition\WITPstaff>java -Xms128m -Xm
x256m -jar "WitPTracker.jar"
WitP Tracker AE tables loaded in 62 seconds
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spa
ce
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknow
n Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:344)
at witptracker.MapPanel.<init>(MapPanel.java:196)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:605)
at witptracker.GUIMain$5.run(GUIMain.java:682)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
C:\Matrix Games\War in the Pacific Admiral's Edition\WITPstaff>pause
Press any key to continue . . .
You can just use the witptracker.bat file in the release distribution.
Or right-click on the file and you'll be shown a menu, choose the "Edit" option.