ORIGINAL: floydg
For some reason, the program can't find the files. Are they in the ART folder?
Yes they are. Combat Reporter finds them there fine.
Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition
ORIGINAL: floydg
For some reason, the program can't find the files. Are they in the ART folder?
ORIGINAL: floydg
For some reason, the program can't find the files. Are they in the ART folder?
ORIGINAL: Tanaka
Well it was working now I've got this issue...
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.<init>(Unknown Source)
at java.awt.image.Raster.createPackedRaster(Unknown Source)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)
at java.awt.image.BufferedImage.<init>(Unknown Source)
at witptracker.MapPanel$Map.<init>(MapPanel.java:440)
at witptracker.MapPanel.<init>(MapPanel.java:229)
at witptracker.GUIMain.CreateAndShowGUI(GUIMain.java:920)
at witptracker.GUIMain$5.run(GUIMain.java:1042)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(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)
ORIGINAL: Nomad
For those out of memory errors:
For whatever reason it seems that Windows gets its memory allocation screwed up. Try closing everything and restarting your computer.
If that doesn't fix it, then try shutting down your computer completely, pulling the power cable and pressing the start button for about 10 seconds.
Restart and try again. Like I said, I don't know what happens but these have always fixed the problem for me. I have something like 450 turns loaded.
As a last resort, try and find what is running in the background that might be a problem. At least one person found dropbox was running in the background
and messing up the memory manager.
Also I have found the following memory settings work the best: ( do not copy and paste )
"c:\32 bit java\installation\bin\java.exe" -Xms768m -Xmx768m -jar "WitPTracker.jar"
pause
For those who want to know why:
1. The -Xms768m sets the initial memory allocation to 768MB
2. The -Xmx768m set the maximum memory allocation to 768MB
I think that by setting them both to 768MB that Java allocates enough memory for the entire operation at the start and there should be less memory manager allocation problems.
Xms768m -Xmx768m
I have changed the memory as recomended above but I still have to fight with it to get it to work. Will it work with a larger memory allocation? Is there a max size to the memory that can be allocated?ORIGINAL: Nomad
For those out of memory errors:
For whatever reason it seems that Windows gets its memory allocation screwed up. Try closing everything and restarting your computer.
If that doesn't fix it, then try shutting down your computer completely, pulling the power cable and pressing the start button for about 10 seconds.
Restart and try again. Like I said, I don't know what happens but these have always fixed the problem for me. I have something like 450 turns loaded.
As a last resort, try and find what is running in the background that might be a problem. At least one person found dropbox was running in the background
and messing up the memory manager.
Also I have found the following memory settings work the best: ( do not copy and paste )
"c:\32 bit java\installation\bin\java.exe" -Xms768m -Xmx768m -jar "WitPTracker.jar"
pause
For those who want to know why:
1. The -Xms768m sets the initial memory allocation to 768MB
2. The -Xmx768m set the maximum memory allocation to 768MB
I think that by setting them both to 768MB that Java allocates enough memory for the entire operation at the start and there should be less memory manager allocation problems.
Do you know of any way to tell which program is interfering?ORIGINAL: Nomad
You can go a bit larger, but the program doesn't need it. If you are still having problems then something on you machine is interfering with the memory allocation.
A security issue has been identified that could allow an attacker to compromise your Windows-based system with Microsoft Visual C++ 2005 Service Pack 1 Redistributable Package.
Hi Floyd - have been having a PM discussion with Pavel and I thought there might be a save issue due to the string out of bounds exception. Just didn't read further to see it was the Operations file . my bad.. been too long since I've looked at this stuff.ORIGINAL: floydg
Nothing on your end. There is something the program doesn't like with your operations.txt file. Can you send it to me (witptracker@gmail.com)?
ORIGINAL: floydg
Nothing on your end. There is something the program doesn't like with your operations.txt file. Can you send it to me (witptracker@gmail.com)?
ORIGINAL: floydg
Are you playing Allies (a) or Japan (j)?
Send me the latest one.
ORIGINAL: JammyO
Hello everyone,
I have WitP TRACKER up and running. I'm playing the Japanese in the Guadalcanal Scenario (scenario 04). Everything is working like a charm except TRACKER is substituting Allied ship bitmaps for all of my Japanese ships. Or at least that's what I think may be happening (I'm new to both WitP-AE & Tracker).
I tried to upload a screenshot to highlight the issue, but I still don't have that privilege (if I understand the automated forum notice I received). Anyway, if you can "picture it" [8D], the screenshot would have shown information about the class of one of my submarines (I-171). All of the data is correct (I think), but the image (or bitmap) is not.
From looking thru the WitP-AE files, I think the correct bitmap (a submarine in profile) is labelled "JnSide0135.bmp" within the "JapShip_Back" folder within the "ART" folder. However, the bitmap in the screenshot (a small ship) appears to be "AnSide0135.bmp", which is found within the "AlliedShip_Back" folder.
I have searched the forum but wasn't able to find anything relating to this issue. I'd greatly appreciate any comments or advice.
Cheers!