WitPTracker AE News

This new stand alone release based on the legendary War in the Pacific from 2 by 3 Games adds significant improvements and changes to enhance game play, improve realism, and increase historical accuracy. With dozens of new features, new art, and engine improvements, War in the Pacific: Admiral's Edition brings you the most realistic and immersive WWII Pacific Theater wargame ever!

Moderators: wdolson, MOD_War-in-the-Pacific-Admirals-Edition

floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker AE Release 1.0

Post by floydg »

ORIGINAL: LoBaron

Hi! Thanks again for continuing the best exteneded arm for AE. [:)]

You're most welcome.

This type of ego-boosting is what keeps us going... [:D]
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker AE Release 1.0

Post by Nomad »

ORIGINAL: floydg

ORIGINAL: Nomad

ORIGINAL: floydg




Hmmm... I suppose you had just loaded a new turn, right? Can you send me the "old" turn and the "new" turn so I can see what's going on?

Thanks!

right now, no. I can't get it to duplicate. [:(]

Yeah, this one may be tough to duplicate. You need to get a turn where the SS Nautilus is supposedly sunk and then a subsequent turn where it's discovered to be falsely reported as sunk. But I think this had to have happened twice -- because it should fail on the second time. I'll protect against it, but it's a harmless error; just indicating something is there already.

Floyd

Most likely, everything seemed to work right, I just noticed the error message at the end and thought I would send it to you. I'll look at the old turns this weekend and see if I can find the right ones.
User avatar
USSAmerica
Posts: 19211
Joined: Mon Oct 28, 2002 4:32 am
Location: Graham, NC, USA
Contact:

RE: WitPTracker AE Release 1.0

Post by USSAmerica »

ORIGINAL: floydg

ORIGINAL: LoBaron

Hi! Thanks again for continuing the best exteneded arm for AE. [:)]

You're most welcome.

This type of ego-boosting is what keeps us going... [:D]

I'll be glad to chip in, then. It's cheaper than buying you guys beer. [:D]

There is a serious standing offer of all you can drink if either of you are ever in the Raleigh area. [8D]
Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me

Image
Artwork by The Amazing Dixie
User avatar
Gunner98
Posts: 5975
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: need to shrink DB

Post by Gunner98 »

Having a Java memory issue - can anyone point me to the post that explains how to adjust this?

Thanks
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: need to shrink DB

Post by floydg »

ORIGINAL: Gunner98

Having a Java memory issue - can anyone point me to the post that explains how to adjust this?

Thanks

The witptracker.bat file contains a line:
[font="Courier New"]java -Xms384m -Xmx512m -jar "WitPTracker.jar"[/font]

Change the numbers to bigger values. Increase by 128, for example, until it starts working. But... if these original memory settings aren't working, it could be that your PC doesn't have enough memory to allocate.

Floyd
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
Gunner98
Posts: 5975
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: need to shrink DB

Post by Gunner98 »

Thanks, I have gone up 2 steps with no luck. This is the start of the error msg in the DOS box when I try and read a turn:

Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: F:\Warga
es\Matrix Games\War in the Pacific - AE\Tracker\pwsdll.dll: Not enough storage
s available to process this command


my wtptracker.bat file is now

java -Xms640m -Xmx768m -jar "WitPTracker.jar"

I think I have enough memory - page one of the DxDiag test:

Processor: Intel(R) Core(TM)2 Duo CPU E8500 @ 3.16GHz (2 CPUs)
Memory: 3072MB RAM
Page File: 1484MB used, 3471MB available


Maybe I'm not on the right track. Any ideas?

B
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: need to shrink DB

Post by floydg »

Microsoft website has this "helpful" information for this error message:
Error Message:
Not enough storage is available to process this command.

User Action:

Do one of the following, then retry the command: (1) reduce the number of running programs; (2) remove unwanted files from the disk the paging file is on and restart the system; (3) check the paging file disk for an I/O error; or (4) install additional memory in your system.

Maybe one of these will help.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
drw61
Posts: 842
Joined: Wed Jun 30, 2004 12:58 pm
Location: South Carolina

RE: need to shrink DB

Post by drw61 »

Disregard. just read the post above about the memory and it's working, thanks

I'm getting the following error message

Thanks, Daryl

Image
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: need to shrink DB

Post by floydg »

ORIGINAL: drw61

Disregard. just read the post above about the memory and it's working, thanks

I'm getting the following error message

Thanks, Daryl

Image

Can't see the error.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
bretg80
Posts: 289
Joined: Sun Jun 07, 2009 9:49 pm

RE: need to shrink DB

Post by bretg80 »

Hey guys, if you have 4GB of memory on your machine, you can set the Xmx value to as high as 3072 (3 gigabytes). This is probably too much, but it will definitely help with memory issues. If you are running on Win7 64 and have more memory then you definitely can go all the way up to 3072.

You may want to jump to 1024 initially just to see if the extra 512 megabyte helps. I usually run tracker with 2048, but I have an 8GB machine running Win 7 x64.

By the way, the numbers after the Xmx are in megabytes, so 1024 equals 1024 megabytes or 1 gigabyte. Hope this helps.

Bret
I'll be back
User avatar
Gunner98
Posts: 5975
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: need to shrink DB

Post by Gunner98 »

Ok

Still no luck. have upped the memory to

java -Xms1024m -Xmx1158m -jar "WitPTracker.jar"

User Action:

Do one of the following, then retry the command: (1) reduce the number of running programs;

Only have WITP-AE & tracker running

(2) remove unwanted files from the disk the paging file is on and restart the system;

Not entirly sure what this means but I have over 100Gb free on the disk

(3) check the paging file disk for an I/O error;

Haven't done this yet - Hard drive is only about 4 months old

or (4) install additional memory in your system.

I have 4 Gig RAM on a 32 bit system so I don't think this will help


Any other ideas?
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: need to shrink DB

Post by n01487477 »

ORIGINAL: Gunner98

Ok

Still no luck. have upped the memory to

java -Xms1024m -Xmx1158m -jar "WitPTracker.jar"

User Action:

Do one of the following, then retry the command: (1) reduce the number of running programs;

Only have WITP-AE & tracker running

(2) remove unwanted files from the disk the paging file is on and restart the system;

Not entirly sure what this means but I have over 100Gb free on the disk

(3) check the paging file disk for an I/O error;

Haven't done this yet - Hard drive is only about 4 months old

or (4) install additional memory in your system.

I have 4 Gig RAM on a 32 bit system so I don't think this will help
Any other ideas?
Gunner98,
There really is no reason this can't run on your rig.

There are at least two cases when this error can occur:

* If you try to allocate more memory than is available on your device.
* If you run out of shared library space.

So go back to the default settings please for starters in the batch file.
java -Xms384m -Xmx512m -jar "WitPTracker.jar"
pause

I assume you've had Tracker working before and now want to increase the memory heap, I've encountered problems doing large memory allocations... but I'm thinking this might be more about other things [8|]

Also need a bit more info to get my head around this ...
Are you a 64 bit user?OOps just checked ... you're a 32 bit user... curious.
What Microsoft Visual C++ SP1 update did you apply ? The 32bit one for intel?
What Java version are you using ? The 32 bit one ?

Also if you PM me your email address I can send you another version which has an executable which I've got working on most 32/64bit rigs.

Damian
User avatar
Gunner98
Posts: 5975
Joined: Fri Apr 29, 2005 12:49 am
Location: The Great White North!
Contact:

RE: need to shrink DB

Post by Gunner98 »

Gunner98,
There really is no reason this can't run on your rig.

There are at least two cases when this error can occur:

* If you try to allocate more memory than is available on your device.
* If you run out of shared library space.

So go back to the default settings please for starters in the batch file.
java -Xms384m -Xmx512m -jar "WitPTracker.jar"
pause

Will Do

I assume you've had Tracker working before and now want to increase the memory heap, I've encountered problems doing large memory allocations... but I'm thinking this might be more about other things

Was working like a charm and then just stopped reading turns - no error msgs - took a few turns for me to notice.

Also need a bit more info to get my head around this ...
Are you a 64 bit user?OOps just checked ... you're a 32 bit user... curious.
32 bit
What Microsoft Visual C++ SP1 update did you apply ? The 32bit one for intel?
I think so, can't remember - is there a way to check?
What Java version are you using ? The 32 bit one ?
Java version 6, I think its the 32 bit version,

Also if you PM me your email address I can send you another version which has an executable which I've got working on most 32/64bit rigs.

On the way

Damian

Thanks for the help, this is a great progam and want to get it back up and running
Check out our novel, Northern Fury: H-Hour!: http://northernfury.us/
And our blog: http://northernfury.us/blog/post2/
Twitter: @NorthernFury94 or Facebook https://www.facebook.com/northernfury/
Rainer79
Posts: 603
Joined: Fri Oct 31, 2008 7:49 am
Location: Austria

RE: need to shrink DB

Post by Rainer79 »

I'm in the beginning of '43 now and the start-up time for tracker has increased to ~10 minutes. Is there anything I can do to reduce that?
herwin
Posts: 6047
Joined: Thu May 27, 2004 9:20 pm
Location: Sunderland, UK
Contact:

RE: need to shrink DB

Post by herwin »

That's a standard problem with JDBC systems. You need to bug the developers to allow people to use alternative high-performance DBMSs.
Harry Erwin
"For a number to make sense in the game, someone has to calibrate it and program code. There are too many significant numbers that behave non-linearly to expect that. It's just a game. Enjoy it." herwin@btinternet.com
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: need to shrink DB

Post by floydg »

ORIGINAL: herwin

That's a standard problem with JDBC systems. You need to bug the developers to allow people to use alternative high-performance DBMSs.

Okay, I'm game - if it can improve performance, can you recommend something?
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: need to shrink DB

Post by n01487477 »

ORIGINAL: floydg

ORIGINAL: herwin

That's a standard problem with JDBC systems. You need to bug the developers to allow people to use alternative high-performance DBMSs.

Okay, I'm game - if it can improve performance, can you recommend something?
But from running 200+ turns the DB call is not what is slowing the program down ... or am I wrong ?
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: need to shrink DB

Post by Nomad »

Maybe a bigger DB or another separate DB where you store more things rather than recompute every time Tracker is run would help performance.
herwin
Posts: 6047
Joined: Thu May 27, 2004 9:20 pm
Location: Sunderland, UK
Contact:

RE: need to shrink DB

Post by herwin »

ORIGINAL: floydg

ORIGINAL: herwin

That's a standard problem with JDBC systems. You need to bug the developers to allow people to use alternative high-performance DBMSs.

Okay, I'm game - if it can improve performance, can you recommend something?

There are two problems--big databases are unavoidably slower, and the memory fragmentation you get in the JVM as you load a lot of data means you start thrashing. There was this FAA system I had some involvement with that ran into just that problem. I've asked the DBMS expert who sits two desks over for some suggestions.

For a starter, is the database normalised?
Harry Erwin
"For a number to make sense in the game, someone has to calibrate it and program code. There are too many significant numbers that behave non-linearly to expect that. It's just a game. Enjoy it." herwin@btinternet.com
floydg
Posts: 2071
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: need to shrink DB

Post by floydg »

ORIGINAL: Nomad

Maybe a bigger DB or another separate DB where you store more things rather than recompute every time Tracker is run would help performance.

I have an idea that could do essentially that - check-point the database so the initial reading only has a few objects to sift through, but the complete history is preserved.
Delete the trackerdb.* files.
Copy the pwsdll.dll file from the game folder to the WitPTracker folder.
Try running the WitPTracker.bat again.
Post Reply

Return to “War in the Pacific: Admiral's Edition”