Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

RE: WitPTracker AE Release 1.10 Available!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> RE: WitPTracker AE Release 1.10 Available! Page: <<   < prev  197 198 [199] 200 201   next >   >>
Login
Message << Older Topic   Newer Topic >>
RE: WitPTracker AE Release 1.10 Available! - 10/13/2020 5:27:58 PM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
Food for thought, mostly for Floyd and Damien.

Using the memory switches: -Xms256m -Xmx756m

While the database is loading, before the GUI comes up the memory
committed starts about 256MB and then climbs to a little over 300MB
The working memory starts about 132MB and climbs to about 200MB
When the GUI pops up the committed memory jumps to about 620MB and
the working to about 530MB.

The most important item is that these numbers are the same whether
I am loading a tracker with 4 turns or one with 356 turns.

These were with loading the map.

with the nomap switch the loading memory stays the same, but the
memory used with the GUI active is cut in half. I am waiting for
turn to see what the memory looks like when loading a turn.

What started this was I started to wonder if increasing the -Xms to 768m
would shorted the load times, but it didn't. It committed over 800MB of
memory and the working started at about 260MB and climbed, but the database
load time stayed the same.

Loading a turn takes about 170MB or so of committed memory, which if you are
loading the turn with the map active will cause a hard page fault( this only
means the the system has to page some of the used memory to either a paged memory
area or to disk ). Without the map loaded the committed memory never comes close to
the 768MB maximum I have specified. This is with a tracker database that has
about 360 turns loaded and the database is 1.314GB in size, over twice the size
of the maximum allowed memory.


< Message edited by Nomad -- 10/14/2020 2:04:13 AM >


_____________________________


(in reply to rsallen64)
Post #: 5941
RE: WitPTracker AE Release 1.10 Available! - 10/15/2020 1:38:21 AM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline
I'm not that good with memory management.
When a turn is read in, there are two databases: the old turn and the current turn. Then I run through to see what's different to make alerts, then toss the old turn.
Other than a total overhaul, there isn't much I can think of to reduce memory usage.

(in reply to Nomad)
Post #: 5942
RE: WitPTracker AE Release 1.10 Available! - 10/15/2020 2:23:57 AM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
Can you tell me what you store in the file trackerdb.data? I thought that it might be connected to alerts, but when I trimmed my alerts
to only the last 10 days, the file size did not change.

I think the important thing is that there is no need to increase -Xmx to 1024m, it does not seem to be needed. To me an -Xmx of 768m seems to be optimal
and is large enough to load the map. I do think that the Windows memory manager has problems, and it might be more advantages to use an -Xms of 768m
to allot all of the necessary memory up front. I think that tracker needs to have contiguous memory and when some other process asks for some memory
while tracker is working Windows fragments the memory. And I think that is why people are getting the error for not enough memory resources. I have
32GB of memory on my computer so I am never short of actual memory, but on occasion I get that error. But mostly if I close everything and reboot the
problem goes away. On rare occasions I have to do the power down, pull power plug, hold power button down for 10 seconds and the restart all to get
the error to clear. I just do not think it is a tracker problem, but a Windows or possibly a Java problem.

Of further note, the error only happens when you try and load a new turn. So there is some problem obtaining the 170Mb or so that is needed to load
a new turn. Anyway, I have provided some information and I hope others can use it to solve their problems.

< Message edited by Nomad -- 10/15/2020 2:24:26 AM >


_____________________________


(in reply to floydg)
Post #: 5943
RE: WitPTracker AE Release 1.10 Available! - 10/15/2020 3:57:57 AM   
FeurerKrieg


Posts: 3397
Joined: 6/15/2005
From: Denver, CO
Status: offline
I periodically post this, and it seems timely. I keep two tracker folders going. One daily and one that is semi-monthly. I reset the database on the daily one every 4 game months or so since that stuff isn't as important after some time goes by. But I can still look at long term trends using the semi-monthly folder. Works great for me - maybe helpful to someone.

_____________________________


Upper portion used with permission of www.subart.net, copyright John Meeks

(in reply to Nomad)
Post #: 5944
RE: WitPTracker AE Release 1.10 Available! - 10/15/2020 6:01:10 PM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline
Nomad: the trackerdb.data file contains the SQL database, including the static information (ship classes, aircraft info, LCU TOE, scenario info) and the per-turn changes as a "delta" record (one record per change). The delta record stuff is why the DB explodes and startup is a factor of turns loaded. Sub-optimal initial design; I probably should do something different, but that's a lot of coding work now.

(in reply to FeurerKrieg)
Post #: 5945
RE: WitPTracker AE Release 1.10 Available! - 10/17/2020 10:57:19 PM   
NiclasCage

 

Posts: 57
Joined: 9/28/2019
Status: offline
What does the number in parentheses mean behind ship damage?

I've got a line looking like this;

BB Arizona - Pearl Harbor - 5(speed) - 61(sys) - 58(39)(flt) - 40(24)(eng) - 0(fire) - 1(weapon)....

(in reply to floydg)
Post #: 5946
RE: WitPTracker AE Release 1.10 Available! - 10/17/2020 11:13:35 PM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
That is the major float and/ or engine damage.

_____________________________


(in reply to NiclasCage)
Post #: 5947
RE: WitPTracker AE Release 1.10 Available! - 10/17/2020 11:53:21 PM   
NiclasCage

 

Posts: 57
Joined: 9/28/2019
Status: offline
Thank you! I had another issue though. I ended up deleting and reinstalling witptracker and that fixed it, but after loading a certain savegame in tracker and then later overwriting that save in the game, witptracker still loaded up the database from my first savegame. I tried editing the properties-file and moving my save to another number etc, but it still just loaded up the same old database. Might very well be an error on my part, but it seemed strange.

(in reply to Nomad)
Post #: 5948
RE: WitPTracker AE Release 1.10 Available! - 10/18/2020 1:43:09 PM   
Hanzberger


Posts: 921
Joined: 4/26/2006
From: SE Pennsylvania
Status: offline
Ok there appears to be a java update which killed tracker. I tried dl the old version, which is 6? but the site is having issues ATM. Has anyone experienced issues with tracker? Checking my PC it looks like my current java version is jre1.8.0_241
Tracker will not load any more turns. Maybe it is another issue?

_____________________________

Planning for #17 Ironman Tier2

Japan AC wire chart here
http://www.matrixgames.com/forums/tm.asp?m=2769286&mpage=1&key=?

(in reply to NiclasCage)
Post #: 5949
RE: WitPTracker AE Release 1.10 Available! - 10/18/2020 7:00:40 PM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline

quote:

ORIGINAL: Hanzberger

Ok there appears to be a java update which killed tracker. I tried dl the old version, which is 6? but the site is having issues ATM. Has anyone experienced issues with tracker? Checking my PC it looks like my current java version is jre1.8.0_241
Tracker will not load any more turns. Maybe it is another issue?


I just tried with 1.8.0.261 and it worked.

Floyd

(in reply to Hanzberger)
Post #: 5950
RE: WitPTracker AE Release 1.10 Available! - 10/18/2020 7:06:08 PM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
I am using version 1.8.0.271 of the 32 bit Java and it works fine. Are you sure you are using the 32 bit version? the 64 bit version will not load a turn.

< Message edited by Nomad -- 10/18/2020 7:12:56 PM >


_____________________________


(in reply to floydg)
Post #: 5951
RE: WitPTracker AE Release 1.10 Available! - 10/19/2020 1:11:09 AM   
Hanzberger


Posts: 921
Joined: 4/26/2006
From: SE Pennsylvania
Status: offline
Not sure what version it is. I believe it updated this morning. Not sure why your versions seem to be newer. I only have 50+ turns and cannot load anymore. Java was the only thing I could think of.

_____________________________

Planning for #17 Ironman Tier2

Japan AC wire chart here
http://www.matrixgames.com/forums/tm.asp?m=2769286&mpage=1&key=?

(in reply to Nomad)
Post #: 5952
RE: WitPTracker AE Release 1.10 Available! - 10/19/2020 1:27:57 AM   
Hanzberger


Posts: 921
Joined: 4/26/2006
From: SE Pennsylvania
Status: offline
Ok so it is trying to run a a 64 bit. Now to figure out how to fix this.....

Ok back working! Thanks guys. Lost a turn, but no biggie.

BTW do you guys have both 64 and 32 bit versions installed?
and do they have to be on the same HD as the game, I ask because I am almost out of room on my main HD.

< Message edited by Hanzberger -- 10/19/2020 1:36:12 AM >


_____________________________

Planning for #17 Ironman Tier2

Japan AC wire chart here
http://www.matrixgames.com/forums/tm.asp?m=2769286&mpage=1&key=?

(in reply to Hanzberger)
Post #: 5953
RE: WitPTracker AE Release 1.10 Available! - 10/19/2020 2:06:49 AM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline
I have only the 32-bit version installed. If you have both, you can force the JRE to be 32-bit by using the full path to the JRE in the witptracker.bat file.

(in reply to Hanzberger)
Post #: 5954
RE: WitPTracker AE Release 1.10 Available! - 10/19/2020 3:27:47 AM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
Here is what I did. I put the 32 bit version in a non standard location and use the complete path to it in my tracker.bat file.

If you don't put the 32 bit version in a non standard location the Java updater will uninstall it. Or at least it did.

My batch file:

"c:\32 bit java\installation\bin\java.exe" -Xms768m -Xmx768m -jar "WitPTracker.jar"
pause

_____________________________


(in reply to floydg)
Post #: 5955
RE: WitPTracker AE Release 1.10 Available! - 10/30/2020 6:41:49 AM   
Eambar


Posts: 240
Joined: 4/2/2010
Status: offline

quote:

ORIGINAL: Hanzberger

Ok there appears to be a java update which killed tracker. I tried dl the old version, which is 6? but the site is having issues ATM. Has anyone experienced issues with tracker? Checking my PC it looks like my current java version is jre1.8.0_241
Tracker will not load any more turns. Maybe it is another issue?


Thanks for posting this and the follow on fixes. I had the same problem, would not have thought to check Java. Uninstalled and reinstalled Java got my turns loading again.

Cheers

(in reply to Hanzberger)
Post #: 5956
RE: WitPTracker AE Release 1.0 - 11/24/2020 11:38:43 AM   
Chris21wen

 

Posts: 6249
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
What do the colour coded ID numbers mean on the LCU production tab?

(in reply to n01487477)
Post #: 5957
RE: WitPTracker AE Release 1.10 Available! - 11/24/2020 2:35:58 PM   
witpqs


Posts: 26087
Joined: 10/4/2004
From: Argleton
Status: offline

quote:

ORIGINAL: FeurerKrieg

I periodically post this, and it seems timely. I keep two tracker folders going. One daily and one that is semi-monthly. I reset the database on the daily one every 4 game months or so since that stuff isn't as important after some time goes by. But I can still look at long term trends using the semi-monthly folder. Works great for me - maybe helpful to someone.

Thanks. Do you ever (during the course of a whole campaign game) find it necessary to start over with the semi-monthly Tracker?

_____________________________


(in reply to FeurerKrieg)
Post #: 5958
RE: WitPTracker AE Release 1.10 Available! - 11/24/2020 4:54:00 PM   
USSAmerica


Posts: 18715
Joined: 10/28/2002
From: Graham, NC, USA
Status: offline

quote:

ORIGINAL: witpqs


quote:

ORIGINAL: FeurerKrieg

I periodically post this, and it seems timely. I keep two tracker folders going. One daily and one that is semi-monthly. I reset the database on the daily one every 4 game months or so since that stuff isn't as important after some time goes by. But I can still look at long term trends using the semi-monthly folder. Works great for me - maybe helpful to someone.

Thanks. Do you ever (during the course of a whole campaign game) find it necessary to start over with the semi-monthly Tracker?



I really like this idea and can't imagine ever needing to clear or reset the semi-monthly Tracker db. It would only be holding around 24 turns per year, or 96 turns for the entire war.

_____________________________

Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me


Artwork by The Amazing Dixie

(in reply to witpqs)
Post #: 5959
RE: WitPTracker AE Release 1.0 - 11/24/2020 7:32:43 PM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline

quote:

ORIGINAL: Chris21wen

What do the colour coded ID numbers mean on the LCU production tab?


For LCUs active and at bases, if the supply is more than 20,000, show in green, otherwise if greater than 10,000 show in orange, otherwise if greater than zero show in red and if zero, show in black.
For LCUs not at a base, it's always black.

At least that's how it looks in the code...


(in reply to Chris21wen)
Post #: 5960
RE: WitPTracker AE Release 1.0 - 11/25/2020 4:57:59 AM   
Chris21wen

 

Posts: 6249
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline

quote:

ORIGINAL: floydg


quote:

ORIGINAL: Chris21wen

What do the colour coded ID numbers mean on the LCU production tab?


For LCUs active and at bases, if the supply is more than 20,000, show in green, otherwise if greater than 10,000 show in orange, otherwise if greater than zero show in red and if zero, show in black.
For LCUs not at a base, it's always black.

At least that's how it looks in the code...




Thanks

(in reply to floydg)
Post #: 5961
RE: WitPTracker AE Release 1.10 Available! - 12/1/2020 8:20:28 PM   
icitrom

 

Posts: 6
Joined: 10/17/2013
Status: offline
Hello. I just (01-Dec-2020) purchased War in the Pacific - Admiral's Edition. I downloaded the main installer (v10079DR) as well as the update (v1126a). What is this WitP Tracker file? Thanks.

(in reply to floydg)
Post #: 5962
RE: WitPTracker AE Release 1.0 - 12/5/2020 6:03:09 AM   
rsallen64


Posts: 172
Joined: 6/15/2009
From: Olympia, WA
Status: offline
When I first started running Tracker, it loaded in about 11 seconds or so. 265 turns in, it's taking about 157 seconds. I've performed database maintenance by purging alerts older than 25, and at one point maybe 100 turns or so ago I had to start again and reload Tracker with all new date, losing my old database. Is there something I can do to speed this up? And, since I'm running Windows 10, can we now use 64 bit Java, or do we still use 32 bit Java for Tracker? Thanks!

_____________________________

Desert War 1940-1942 Beta Tester
Agressors: Ancient Rome Beta Tester

"The greatest and noblest pleasure which men can have in this world is to discover new truths; and the next is to shake off old prejudices." Frederick the Great

(in reply to n01487477)
Post #: 5963
RE: WitPTracker AE Release 1.0 - 12/5/2020 7:35:19 AM   
Chris21wen

 

Posts: 6249
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
I don't know the technical reason but it's the way Java works.

If you monitor the size of the trackerdb.data file you will see it gets bigger each time you load a new turn. Java has to read all that every time you start it. At the start its about 20K, (with map), it'll be smaller without it. I've got 82 turns loading and the size is now 260K.

You either put up with it or start all over again.

(in reply to rsallen64)
Post #: 5964
RE: WitPTracker AE Release 1.0 - 12/5/2020 7:53:18 AM   
Chris21wen

 

Posts: 6249
Joined: 1/17/2002
From: Cottesmore, Rutland
Status: offline
Tracker's run from a .bat file. I've inserted the line fro normal use, but it does nothing with remark statement in the line:

rem del *db.*
......

Whenever I need to restart I point SaveFile=[the earliest save I have] located in the WitPtracker.properties file.
Delete just rem from the .bat file.
Run the .bat file.
Re-insert rem to the .bat. (If you don't rem it, it will just keep deleting the dbs)
Multi-turn read all other saves from within tracker.
Reset SaveFile={to normal turn save].

Note I always have the last five turns saved. You can deler all the db files in the tracker folder by hand. I find it simpler to use this method.

(in reply to Chris21wen)
Post #: 5965
RE: WitPTracker AE Release 1.0 - 12/5/2020 12:13:50 PM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline
This is the result of a short-sighted design decision at the beginning of the coding. The more turns loaded, the longer it takes to start up.
I have some ideas to speed it up considerably, but haven't found the time to re-work it.

As others have said, the workaround is to delete the DB every so often and restart with less history. That's against my OCD nature, so I keep it all in there and suffer the startup delay.

Maybe when I retire I'll have the time to re-work it all...

(in reply to Chris21wen)
Post #: 5966
RE: WitPTracker AE Release 1.0 - 12/5/2020 12:51:09 PM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
When you do retire and rewrite it, could you add an alert for a ship gaining experience?

I usually start getting frustrated when load times go over 6 minutes. About 12 - 15 months or so.

_____________________________


(in reply to floydg)
Post #: 5967
RE: WitPTracker AE Release 1.0 - 12/11/2020 1:59:12 AM   
floydg

 

Posts: 2052
Joined: 6/27/2004
From: Middletown, NJ
Status: offline

quote:

ORIGINAL: Nomad

When you do retire and rewrite it, could you add an alert for a ship gaining experience?

I usually start getting frustrated when load times go over 6 minutes. About 12 - 15 months or so.


:-)

I'll see what I can do there. The data is all there, so it shouldn't be hard to add the alerts.

(in reply to Nomad)
Post #: 5968
RE: WitPTracker AE Release 1.0 - 12/12/2020 5:48:27 PM   
saintsup

 

Posts: 133
Joined: 10/27/2003
From: La Celle Saint-Clouud
Status: offline
Hello,

I'm new to WITP AE.
So far I've overcome all the hurdles to make everything work on a new PC (SeaBee, dual Java install, etc ...).

Last problem I have is to make the tracker work with scenario 100 (working fine with stock scenario Coral Sea).
There is an error message when loading a turn :'WARNING: Unknown row in operations file <C:\Matrix Games\War in the Pacific Admiral's Edition\SAVE\aoperationsreport.txt>: [3 Vincent I replacements arrive at Auckland]'

Any Idea ?

(in reply to floydg)
Post #: 5969
RE: WitPTracker AE Release 1.0 - 12/12/2020 5:53:25 PM   
Nomad


Posts: 5905
Joined: 9/5/2001
From: West Yellowstone, Montana
Status: offline
Do not worry about it. There are some new operation file entries that tracker doesn't know about. It does not affect trackers operation.

_____________________________


(in reply to saintsup)
Post #: 5970
Page:   <<   < prev  197 198 [199] 200 201   next >   >>
All Forums >> [New Releases from Matrix Games] >> War in the Pacific: Admiral's Edition >> RE: WitPTracker AE Release 1.10 Available! Page: <<   < prev  197 198 [199] 200 201   next >   >>
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.672