I think you are confirming my point. The game is holding something cached in memory that it shouldn't.smarty2 wrote:when coming out of one scenario and starting another the game is still holding onto over 2 gig of memory
KUJU Folder
Moderator: Moderators
- eyore
- Very Active Forum Member
- Posts: 1226
- Joined: Tue Jan 27, 2004 6:22 pm
- Location: Cumbrian hills
Re: KUJU Folder
Re: KUJU Folder
The game simply doesn't frees the memory sections that are not used anymore. I think this is called as "memory leak". It's a programming error, and these are usually getting fixed in patches, by other developers, but not by RSC.eyore wrote:I think you are confirming my point. The game is holding something cached in memory that it shouldn't.smarty2 wrote:when coming out of one scenario and starting another the game is still holding onto over 2 gig of memory
-
gptech
- Very Active Forum Member
- Posts: 19585
- Joined: Fri Oct 10, 2008 5:48 pm
- Location: Wakefield, West Yorkshire
Re: KUJU Folder
A lot depends on what you're using to measure memory usage; just because Task Manager shows railworks.exe as 'claiming' a chunk of memory doesn't mean that it's actually full of data. I do agree though that the memory management routines in the game need attention, remember that despite the improvements we've had it's still a game based on old code and written before the larger amounts of RAM many are using was the norm.
- peterfhayes
- Very Active Forum Member
- Posts: 2155
- Joined: Mon Sep 26, 2011 5:07 am
Re: KUJU Folder
Eyore
Good point but why does it only happen in the KUJU folder and not the RSC folder?
Just a thought
pH
Good point but why does it only happen in the KUJU folder and not the RSC folder?
Just a thought
pH
- mikesimpson
- Very Active Forum Member
- Posts: 6361
- Joined: Mon Dec 03, 2001 12:00 am
- Location: Southern Hemisphere Penal Colonies
- Contact:
Re: KUJU Folder
For the simple reason that it is not the Kuju folder which is the problem but the Kuju\RailSimulator folder which includes all of the scenery/rolling stock for EVERY UK route which they provided PLUS all of those reskins which were added by reskinners before they realised what the problem was they were causing. So when you load one of the old UK routes, or any route calling for Kuju\RailSimulator, then all of those files are opened by TS2013peterfhayes wrote:Eyore
Good point but why does it only happen in the KUJU folder and not the RSC folder?
Just a thought
pH
Similar thing has happened with the Kuju\RailSimulatorUS route if you have been downloading all of the US repaints.
In the case of the RSC folder, they have used a separate sub-folder for each of their routes, so when you run a RSC route, it only opens the files actually used by the route, hence no problem.
Mike
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
- mikesimpson
- Very Active Forum Member
- Posts: 6361
- Joined: Mon Dec 03, 2001 12:00 am
- Location: Southern Hemisphere Penal Colonies
- Contact:
Re: KUJU Folder
malcolmfhill wrote:Coincidentally, I've just discovered this re reducing the size of Kuju folders. Scroll down the accompanying pdf file....
http://railworksamerica.com/index.php/l ... -in-ts2013
That tutorial has been on the RW_Tools site for some time now, ever since Bob was declared persona non grata on this site.
Mike
Mike in OZ - Author of TS-Tools & Route-Riter.
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
http://www.agenetools.com
I'm not arguing (just explaining why I'm right).
-
kieranread
- Getting the hang of things now
- Posts: 16
- Joined: Mon May 13, 2013 8:05 am
Re: KUJU Folder
Peter,
If I need something from the Kuju\Railsimulator folder, I select it. That "activates" (on my installation) a folder of 6.61 Gb (and that's after stripping it down) and whatever files TS2013 then loads.
If I need something from, say, the RSC\Falmouth Branch folder, I select it and "activate" a folder of 547 Mb and whatever files TS2013 then loads.
That's why the RSC folder has (on my installation) 52 sub folders. So that if you need something from one of them you don't have to select the lot.
Or have I missed the point you were asking about?
If I need something from the Kuju\Railsimulator folder, I select it. That "activates" (on my installation) a folder of 6.61 Gb (and that's after stripping it down) and whatever files TS2013 then loads.
If I need something from, say, the RSC\Falmouth Branch folder, I select it and "activate" a folder of 547 Mb and whatever files TS2013 then loads.
That's why the RSC folder has (on my installation) 52 sub folders. So that if you need something from one of them you don't have to select the lot.
Or have I missed the point you were asking about?
- peterfhayes
- Very Active Forum Member
- Posts: 2155
- Joined: Mon Sep 26, 2011 5:07 am
Re: KUJU Folder
Mike
Thanks, and I apologise for raising it again - I was raising what Phil said about caching data in the KUJU folder in that purely from a Windows point of view it shouldn't cause a program to crash merely on the folder size or structure, or how many files it has to cache. Now if there is an improper call for whatever reason then that would certainly crash the program.
I have recently seen an anomaly where the VAS usage suddenly peaks during some scenarios particularly on routes pre TS2013, the contiguous space lessens and there is an increase in fragmentation - I tried to correlate that to the KUJU folder usage but couldn't do it. On my system it then rectifies itself very rapidly. but maybe on other systems where there have been add-ons to the KUJU folder, at some critical point it could compound the error and cause a SBHH even on a 64-bit OS.
Just a theory.
Regards
pH
Thanks, and I apologise for raising it again - I was raising what Phil said about caching data in the KUJU folder in that purely from a Windows point of view it shouldn't cause a program to crash merely on the folder size or structure, or how many files it has to cache. Now if there is an improper call for whatever reason then that would certainly crash the program.
I have recently seen an anomaly where the VAS usage suddenly peaks during some scenarios particularly on routes pre TS2013, the contiguous space lessens and there is an increase in fragmentation - I tried to correlate that to the KUJU folder usage but couldn't do it. On my system it then rectifies itself very rapidly. but maybe on other systems where there have been add-ons to the KUJU folder, at some critical point it could compound the error and cause a SBHH even on a 64-bit OS.
Just a theory.
Regards
pH
-
kieranread
- Getting the hang of things now
- Posts: 16
- Joined: Mon May 13, 2013 8:05 am
Re: KUJU Folder
Peter,
(As a relative newcomer to the forums I'm still on "moderated posting" (grrrr) so my posts pop up totally out of context.)
I strongly suspect it's not Windows that's having the problem with folder size, it's TS2013 having problems with being told to load too much "stuff" (whatever that "stuff" is).
If you were around in the MSTS days, it had an internal issue where if you had too many consists and paths it would freeze up, not because of a Windows issue but because MSTS had an internal problem whereby it got "overloaded".
I would think that the SBHH issue with TS2013 is similar, in that, for some reason, there's some kind of internal limit on what it can handle.
(As a relative newcomer to the forums I'm still on "moderated posting" (grrrr) so my posts pop up totally out of context.)
I strongly suspect it's not Windows that's having the problem with folder size, it's TS2013 having problems with being told to load too much "stuff" (whatever that "stuff" is).
If you were around in the MSTS days, it had an internal issue where if you had too many consists and paths it would freeze up, not because of a Windows issue but because MSTS had an internal problem whereby it got "overloaded".
I would think that the SBHH issue with TS2013 is similar, in that, for some reason, there's some kind of internal limit on what it can handle.
Re: KUJU Folder
RSC could resolve this mess with a single informational post. That they've not done so since the release of 2013 is totally lame. I'm sure they have their reasons, but it would probably require a law degree to understand them.peterfhayes wrote:one day we will crack this thorny issue!!
Before I delete the 9,100 .xml files in my Assets folder (holy momma!), can someone confirm that they're not necessary?gptech wrote:Assets don't use .xml files Peter, therse can safely be deleted.
Thanks.
- Jev H.
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
Before you seek to enlighten him, walk a mile in the other guy's shoes.
i7-2600k @4.7GHz / Asus P8P67 Pro rev 3.1 / eVGA GTX580 1.5G
8GB Corsair Vengeance / Crucial M4 256G/512G / Antec Kuhler 920 / WIN7-64
- peterfhayes
- Very Active Forum Member
- Posts: 2155
- Joined: Mon Sep 26, 2011 5:07 am
Re: KUJU Folder
Jevon
This may not be RSC's fault AFAIK it only happens when you load up the KUJU folder with a certain amount of add-ons from 3rd parties, ie NON-RSC stuff.
My Kuju folder has been around 12 GB on one machine, 11GB on the other and I have never seen a SBHH due to its content.
I have 3,800 xml files and 5,500 on the other and yes it would be great to get a definitive anwser as to whether or not they can be deleted.
Found this on RWA :http://railworksamerica.com/forum/viewt ... f=6&t=1538 probably here too:
Gary hope you can confirm that this is not the ramblings of a madman!!
Regards
pH
This may not be RSC's fault AFAIK it only happens when you load up the KUJU folder with a certain amount of add-ons from 3rd parties, ie NON-RSC stuff.
My Kuju folder has been around 12 GB on one machine, 11GB on the other and I have never seen a SBHH due to its content.
I have 3,800 xml files and 5,500 on the other and yes it would be great to get a definitive anwser as to whether or not they can be deleted.
Found this on RWA :http://railworksamerica.com/forum/viewt ... f=6&t=1538 probably here too:
So it looks like in the ASSETS folder we can delete .tgt, .cost, .bak, .xml and possible ace/psd if you are not into repaints.You also don't need any .xml files you find in your Assets folder tree. These are leftovers from processing blueprints into .bin's and are usually 2-3 times the size of the .bin file.
Gary hope you can confirm that this is not the ramblings of a madman!!
Regards
pH
- malkymackay
- Very Active Forum Member
- Posts: 2194
- Joined: Mon Jan 18, 2010 8:01 pm
- Location: Kilsyth, Scotland
Re: KUJU Folder
All of those files are not need in the assets folder for an end-user. I delete them before I package up my rolling stock & I have yet to hear of anyone having an issue.peterfhayes wrote: So it looks like in the ASSETS folder we can delete .tgt, .cost, .bak, .xml and possible ace/psd if you are not into repaints.
Expanding the TS wagon fleet.
- Carinthia
- Very Active Forum Member
- Posts: 1123
- Joined: Tue Mar 06, 2012 7:07 pm
- Location: at the end of the regulator
Re: KUJU Folder
I concur, but we don't know if their presence has any effect on the issue raised - SBHH errors supposedly caused by the size of the Kuju directory contents. My gut feeling is that this only relates to .bin files but the problem is that we really don't know for certain. But removing those files would certainly help those limited on disc space.malkymackay wrote:All of those files are not need in the assets folder for an end-user.
The Kuju directory is critical to many routes and scenarios so it is something we can't really live without. With TS2013, RailSimulator.com copied certain assets to individual route directories - I don't believe this had anything to do with this issue (as some think) but related to distribution of TS2013 with certain routes only. The biggest issue has surely to be the huge number of free add-ons in terms of reskins for default Kuju locomotives and stock and I mentioned in another thread that the UKTrainsim Freeware Packs play a major part in this. These really need to come out of the dark ages and allow us to install only the items we want - each time I install an updated version of a pack I go through the directories deleting a massive amount of repaints that I know I will never want. This may be why I haven't yet experienced such SBHH errors but it is clear from reading these forums that a lot of people do.
John
-
malcolmfhill
- Been on the forums for a while
- Posts: 255
- Joined: Fri Jan 14, 2011 3:34 pm
Re: KUJU Folder
http://railworksamerica.com/forum/viewt ... 538#p11105
I have just made a copy of the DeleteJunk.bat batch file designed by Alanch (thankyou) using Notepad and placed it in my Assets folder (NOT !!! the Content / Routes folder) with a shortcut to the desktop and have been able to remove 4,500 xml tgt cost and bak files and can confirm that my routes /scenarios still load and run correctly.
I would RECOMMEND you back up everything first, though!
Now let's see if I still get those SBHHs......
I have just made a copy of the DeleteJunk.bat batch file designed by Alanch (thankyou) using Notepad and placed it in my Assets folder (NOT !!! the Content / Routes folder) with a shortcut to the desktop and have been able to remove 4,500 xml tgt cost and bak files and can confirm that my routes /scenarios still load and run correctly.
I would RECOMMEND you back up everything first, though!
Now let's see if I still get those SBHHs......
- smarty2
- Very Active Forum Member
- Posts: 9976
- Joined: Sun Aug 21, 2005 8:16 am
- Location: 1963, at Snow Hill!
- Contact:
Re: KUJU Folder
I'm using cleanmems mini monitor. RSC should fix the problem, however that is only possible if they are aware of the problem?A lot depends on what you're using to measure memory usage;
Best Regards
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
Martin (smarty2)
Non technically minded individual!
Is There A God?
Dudley Bible web page
