June Release: WitPTracker now at 1.6!

Gary Grigsby's strategic level wargame covering the entire War in the Pacific from 1941 to 1945 or beyond.

Moderators: Joel Billings, wdolson, Don Bowen, mogami

User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker 1.0

Post by Nomad »

I am really having problems getting tracker to load. My database is over 415MB now with about 240 game turns loaded. I don't get any errors, it just doesn't seem to finish loading. Often, after letting it try for 10 minutes or so, I can close it, reopen it and it will then load in 3-4 minutes. Any ideas about this? Am I going to have to delete the DB and start over? To be sure, this is the load of the database. The turns load just fine with no errors at all. And I get no errors when the db doesn't load in a reasonable time.
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker 1.0

Post by n01487477 »

Nomad - you are the tip of the sword when it comes to testing ... I'm sure that neither Floyd nor I have ever had that many turns loaded. Java has a reputation as a resource hog and not cleaning up memory after itself, not that this seems to be that problem. I can't tell you anything if there are no error messages during the load ... It'd be nice to have a copy of that DB, so we could do some testing -- but the size is rather large even for email. Guess we could do a peer-to-peer connection and download it or if you have web-space... Anyway, let Floyd have a look at your message and see whether he can come up with anything before we talk about this ...

There is an awful lot of information we are saving - but we will keep thinking and working to achieve a more optimized program. I'd zip the trackerdb.* files and keep them for now and start a fresh DB until we can either have a look or come out with a new version and see if it is any better ...

Damian
User avatar
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker 1.0

Post by Nomad »

I can send it to you as 7 or 8 volumes. I am using 7-zip which is a free download if you don't have it.

I will wait to see if you want me to send it to you. compressed the file is only 63MB.

BTW, my memory is bad, I have 328 turns loaded. [8D]
User avatar
Roger Neilson II
Posts: 1419
Joined: Sun Jul 16, 2006 11:16 am
Location: Newcastle upon Tyne. England

RE: WitPTracker 1.0

Post by Roger Neilson II »

I am suffering also. It could be problems with my PC of course, but I run a batch file with tracker and WITP loading from the commands. The game takes a significant load time now - 10 minutes or so, and tracker seems to lag behind by a good ten minutes on that. I suppose I could load them separately and see if that makes a difference,

Fired up tracker to check on number of turns it is holding and its taking about...... 17 minutes.


Database is 273 MB witha 91 MB backup file. 249 turns in there.

I did the increase Java memory thing a month ago and since then it hasn't stalled in loading.


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

RE: WitPTracker Load times

Post by floydg »

Guys -

In reference to the load times, hanging, etc., I will admit that the program was not initially designed for such a large database. I thought of many things when I did the initial database design, but I guess I didn't anticipate everything. I do have some ideas which could speed up the load times, as I'm starting to notice it myself on my database of 190 turns.

Right now I'm working on adding the export to comma-separated files for import into Excel/scalc/etc for other analysis and printing. When I finish with that, my next item is the LCU upgrade stuff. Then I'll look at the performance. When I'm ready for that, I'll ask for Nomad's mega-file.

Thanks for your patience.

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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker Load times

Post by Nomad »

I may just save what I have and do a restart. I was thinking that if I load the last 10 turns or so and then continue on I would be ok. Most of the important things are what has happened lately not so much what happened on turn 1.
User avatar
Roger Neilson II
Posts: 1419
Joined: Sun Jul 16, 2006 11:16 am
Location: Newcastle upon Tyne. England

RE: WitPTracker Load times

Post by Roger Neilson II »

I wonder...... could the saves be thought of as chapters?

I start again and call it soemthing else, but I have the previous one if I want to look back?

Playing a game I suspect there are key turning poiints where this could be a sensible break, or alternatively save a year at a time?

Just a thought, now tell me how stupid I am.

Roger
Image
Ambassador
Posts: 1756
Joined: Fri Jan 11, 2008 5:15 pm
Location: Brussels, Belgium

RE: WitPTracker Load times

Post by Ambassador »

I've begun using two databases : one that I update daily, and another that I update every few days.  If you set upon updating the secondary DB once a week (I do it on the 1st, 8th, 15th and 22nd of every month), it drastically cuts down on the size of the database.  Useful for the general long-term views.
The daily-updating DB is changed after three to four months, once there's what I consider as a lull in activity.  Archiving the database for later peek is not taking too much hard-drive space, and it is mostly a simple security.
The only difficulty is that you need several folders to access all of them easily.
floydg
Posts: 2084
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker Load times

Post by floydg »

ORIGINAL: Roger Neilson II

I wonder...... could the saves be thought of as chapters?

I start again and call it soemthing else, but I have the previous one if I want to look back?

Playing a game I suspect there are key turning poiints where this could be a sensible break, or alternatively save a year at a time?

Just a thought, now tell me how stupid I am.

Roger

Not a bad idea, but I'd like to fix the real issue, which is how I read the information from the database.
I spent a long time working on how the information is stored, but not much time on how it is retrieved. The size of the database isn't really the issue - the way I read it is.
I think the runtime memory issue is really just a function of the number of units and what each unit has (devices, pilots, etc).

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
Nomad
Posts: 7273
Joined: Wed Sep 05, 2001 8:00 am
Location: West Yellowstone, Montana

RE: WitPTracker Load times

Post by Nomad »

Floyd, don't beat yourself up over this. One of the rules we used when I was programming was "Make it work right first, make it work fast last."

Roger, I am not sure you can get a year into the database. I think about 8-9 months and things start to slow down a lot. I saved my DB and started a new one with the last 10 days. Seems to be fine, and I have the information I need. I will probable run for another 5 or 6 months and do it again. Things will be getting interesting then.
floydg
Posts: 2084
Joined: Sat Jun 26, 2004 10:08 pm
Location: Middletown, NJ

RE: WitPTracker Load times

Post by floydg »

ORIGINAL: Nomad
Floyd, don't beat yourself up over this. One of the rules we used when I was programming was "Make it work right first, make it work fast last."

[:-] After 20+ years working on large-scale systems for telecommunications carriers, I've found that if you don't design in performance from the get-go, it's not simple to add it in later. Unfortunately, I've seen your rule in action way too many times and it has taken many hours of re-architecting to fix the problem.

Of course, for what you're paying for WitPTracker, it's well-worth the wait... [;)]
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
USSAmerica
Posts: 19211
Joined: Mon Oct 28, 2002 4:32 am
Location: Graham, NC, USA
Contact:

RE: WitPTracker Load times

Post by USSAmerica »

And well worth the price!  [:D] 
Mike

"Good times will set you free" - Jimmy Buffett

"They need more rum punch" - Me

Image
Artwork by The Amazing Dixie
User avatar
Marc
Posts: 308
Joined: Tue Sep 05, 2000 8:00 am
Location: Braunschweig, Germany

request

Post by Marc »

Hi Damian and Floyd,

a big thank you to both of you for this very helpful tool.

In the Task Forces Dataset you added the fields "Label" and "Notes". It would be great if these were available for LCUs and Air Groups too, since they really help in planning.
I really look forward to the export to csv function.

Marc
Chris21wen
Posts: 7938
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker 1.0

Post by Chris21wen »

Supply sources
 
Is there any way to find this out using tracker?  I'm just started a new Stock game and i can't remember were all the supply source are?
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker 1.0

Post by n01487477 »

Chris - do you mean your opponents Res Cntrs and HI ? If so you should just load up the scenario V AI and save the file. Load the file as the opposition ...

As I answer a few questions on production regarding different mods I have a few files Dec7 which I can load up quickly...
Chris21wen
Posts: 7938
Joined: Thu Jan 17, 2002 10:00 am
Location: Cottesmore, Rutland

RE: WitPTracker 1.0

Post by Chris21wen »

No.  I can see the resource centre its supply sources.  For instance karachi produces 15000 supply per turn.
User avatar
Misconduct
Posts: 1851
Joined: Wed Feb 18, 2009 2:13 am
Location: Cape Canaveral, Florida
Contact:

RE: WitPTracker 1.0

Post by Misconduct »

I only wish I can get WITP tracker to even work, think Vista64 is hostile against it. I gave up trying to work it and WITP decoder. 
ASUS Maximus IV Extreme-Z Intel Core I7 2800k Corsair Hydro Heatsink Corsair Vengeance DD3 24GB EVGA GTX 580 Western Digital 1.5TB Raid 0 Windows 7
User avatar
Grotius
Posts: 5842
Joined: Fri Oct 18, 2002 5:34 pm
Location: The Imperial Palace.

RE: WitPTracker 1.0

Post by Grotius »

Misconduct, Tracker works fine for me under Vista 64. I'm pretty sure Decoded worked for me too, but I haven't used it in a while. I'm not sure what I can suggest to help, though -- I just double click the .bat file and I'm good to go.
Image
User avatar
n01487477
Posts: 4764
Joined: Tue Feb 21, 2006 12:00 am

RE: WitPTracker 1.0

Post by n01487477 »

Misconduct look at this thread ... tm.asp?m=2064209

Chris do you mean micro-view ... not the macro, well at the moment it isn't included but as you can tell from my screen shot, it will be. (it isn't including the automatic supplies yet - but I'll sent you an xls file for stock if you wish when it's ready)

[edit] ok now it does the daily Supply as well ... Chris I just sent you the *.xls file... might as well add fuel production as well while I'm there ... getting busy again though!

Cheers
Damian



Image
Attachments
Capture.jpg
Capture.jpg (177.08 KiB) Viewed 432 times
User avatar
Misconduct
Posts: 1851
Joined: Wed Feb 18, 2009 2:13 am
Location: Cape Canaveral, Florida
Contact:

RE: WitPTracker 1.0

Post by Misconduct »

ah thanks n0, finally got it working for once, I did everything right it was simply a Variable that didn't allow JAVA to execute commands, not allowing it to start. Appreciate the help, it works fine.
ASUS Maximus IV Extreme-Z Intel Core I7 2800k Corsair Hydro Heatsink Corsair Vengeance DD3 24GB EVGA GTX 580 Western Digital 1.5TB Raid 0 Windows 7
Post Reply

Return to “War In The Pacific - Struggle Against Japan 1941 - 1945”