Page 75 of 325

RE: WitPTracker AE Release 1.0

Posted: Fri Jun 11, 2010 10:52 am
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]

RE: WitPTracker AE Release 1.0

Posted: Fri Jun 11, 2010 11:27 am
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.

RE: WitPTracker AE Release 1.0

Posted: Fri Jun 11, 2010 12:04 pm
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]

RE: need to shrink DB

Posted: Sat Jun 12, 2010 12:20 pm
by Gunner98
Having a Java memory issue - can anyone point me to the post that explains how to adjust this?

Thanks

RE: need to shrink DB

Posted: Sat Jun 12, 2010 12:27 pm
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

RE: need to shrink DB

Posted: Sat Jun 12, 2010 1:26 pm
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

RE: need to shrink DB

Posted: Sat Jun 12, 2010 2:05 pm
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.

RE: need to shrink DB

Posted: Sat Jun 12, 2010 3:35 pm
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

RE: need to shrink DB

Posted: Sat Jun 12, 2010 5:32 pm
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.

RE: need to shrink DB

Posted: Sat Jun 12, 2010 6:29 pm
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

RE: need to shrink DB

Posted: Sun Jun 13, 2010 10:27 am
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?

RE: need to shrink DB

Posted: Sun Jun 13, 2010 11:10 am
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

RE: need to shrink DB

Posted: Mon Jun 14, 2010 2:17 am
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

RE: need to shrink DB

Posted: Mon Jun 14, 2010 1:43 pm
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?

RE: need to shrink DB

Posted: Mon Jun 14, 2010 1:50 pm
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.

RE: need to shrink DB

Posted: Tue Jun 15, 2010 10:44 am
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?

RE: need to shrink DB

Posted: Tue Jun 15, 2010 10:47 am
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 ?

RE: need to shrink DB

Posted: Tue Jun 15, 2010 11:23 am
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.

RE: need to shrink DB

Posted: Tue Jun 15, 2010 11:42 am
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?

RE: need to shrink DB

Posted: Tue Jun 15, 2010 11:43 am
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.