CitiesSkylinesMods / TMPE

Cities: Skylines Traffic Manager: President Edition
https://steamcommunity.com/sharedfiles/filedetails/?id=1637663252
MIT License
576 stars 85 forks source link

"Fatal crash": Looking for solutions (page file) #356

Closed jomun closed 5 years ago

jomun commented 5 years ago

Description

Reproduction Steps

Add more steps as nessecary.

  1. Make sure that all mods listed below are activated
  2. Load game
  3. Crashes around 5-6 mins in when the section "Sunny Properties"

Mod List

73 active mods

Output Log

error.log.txt

Additional Info

Though my memory spikes to 96%... my ram capacity has never been an issue in the past. My computer has 16 gigs of ram and a GTX 960 graphics card.

originalfoo commented 5 years ago

It looks like you've shared error.log; we need the output_log.txt instead

See: https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/wiki/Share-your-Cities-Skylines-log-file

jomun commented 5 years ago

output_log.txt

jomun commented 5 years ago

by chance, is there any way that I can fix it?

On Fri, Jun 7, 2019 at 5:03 AM Aubergine notifications@github.com wrote:

Reopened #356 https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356 .

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYBIRW336WSI54EGFJLPZJFAJA5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOR3QF73A#event-2397069292, or mute the thread https://github.com/notifications/unsubscribe-auth/AMIYFYDPV2FKDEC3UH6PSOTPZJFAJANCNFSM4HVWFLGA .

krzychu124 commented 5 years ago

I would try to increase page file (from your error log - only 47GB ~150MB free) because it looks like it's too low for your set of subscribed assets. Extend it up to e.g. 55-60GB and try again.

jomun commented 5 years ago

I will try it out

originalfoo commented 5 years ago

Ok, so it's crashing during the loading process (specifically near the end while mods are initialising).

It's not a TM:PE error, but let's see if we can get this fixed anyway...

The following assets are causing errors in the log (unlikely to cause the crash, but might as well unsubscribe them):

These are breaking due to missing required items (I suggest unsubscribe them for now, until the crash bug is resolved):

There are issues with the following mods:

I also noticed you have two versions of Network Skins installed. I would suggest using the older one for now, as Network Skins 2 has some crash bugs (its still in beta). Note also that Network Skins 2 won't be compatible with the Road Options (Color Changer++) mod.

jomun commented 5 years ago

So I tried it again and I got another crash. I did all of the changes except 1 which is related to (asset id: 886603352) I looked through my game and I couldnt find it. Is there by chance a way to locate and manually remove the file? output_log.txt

originalfoo commented 5 years ago

The 886603352 mod will appear as something like "Prop Unlimiter" in Main Menu > Content Manager > Mods.

On disk it is likely living in: E:\Games\steamapps\workshop\content\255710\886603352 folder.

Try removing that first (ideally via Content Manager > Mods screen) and see if that fixes it.

If that doesn't fix it:

If it's still not working after all that, then it's most likely that you're just running out of RAM due to all those workshop assets. Unsubscribe any you don't use; you can see your subscribed assets in Steam Workshop: Go to the Workshop tab, on the right where it says "Your files" choose "Subscribed Items" from the drop-down list, then you see everything you've subscribed in there and can unsubscribe any you don't use.

Note: Don't unsubscribe any roads or tracks (or any mods that add roads/tracks) as that will also break game loading (see How to remove workshop networks for correct procedure; but you need to be able to load your save game to do it).

jomun commented 5 years ago

So ive updated my drivers to the latest version and i have removed the prop unlimiiter mod. I haven't removed my graphics mods just yet. But id id get another crash.

output_log.txt

1 of the crashes crashed my entire system and I unfortunately didnt get an output log for that one. 2 other crashes before this one didnt give me out put logs.

originalfoo commented 5 years ago

Ok, try adding the --noWorkshop launch option; while present, it will disable all your assets and mods essentially returning game to vanilla state. If it still crashes, for example when starting a new game on new map, that would rule out all the workshop stuff and indicate that the game itself is causing the problem in which case you'll need to submit a bug report to Paradox (more details here).

I noticed you've moved the game to drive E: - when did you make that change? Did these crashes start after doing that? If so, it's likely you used wrong procedure to move game to that drive, see: How to move the game to a different disk drive.

jomun commented 5 years ago

So once I put in the start process for --noworkshop the game opened and I was able to load into a new map.

When I started to run the game again with the no workshop setting off it crashed.

output_log.txt

About the E: drive The game has been on my E: drive ever since I originally downloaded it. So I dont think that is the factor behind my computer's stalling crashes.

originalfoo commented 5 years ago

That most recent log shows you are running out of memory:

DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 1 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 2 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 3 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator allocation probe 4 failed - Could not get memory for large allocation 4194320.
DynamicHeapAllocator out of memory - Could not get memory for large allocation 4194320!
Crash!!!

You need to unsubscribe workshop assets / skip vanilla assets / buy more RAM, or a combination of those things. Otherwise the game will just keep crashing when it runs out of memory.

jomun commented 5 years ago

Hmm... I see. Well I have been considering in upgrading my computer as of recent so I suppose that the time to upgrade has come. Thanks for the help.

krzychu124 commented 5 years ago

How big is your page file now, I'm just curious?

As far as I know game will try to use that virtual memory when system is low on RAM, always... Games and other programs are designed to use page file when running low on RAM available or loaded objects are not frequently used(like game assets).

I've never had a problem loading savegame. I have 16GB and I could load savegame with 2k-2.5k assets enabled( >60GB in-memory) without problems and even with running debugger which took around 2-3GB RAM.

If your page file is too small, the game will crash to desktop without any notification and that's clear sign that your page file is too small to load game with current amount of game assets.

jomun commented 5 years ago

Whats a good size recommendation for page file right now mine is set to system preference

On Sat, Jun 8, 2019 at 4:02 PM Krzysztof notifications@github.com wrote:

How big is your page file now, I'm just curious?

As far as I know game will try to use that virtual memory when system is low on RAM, always... Games and other programs are designed to use page file when running low on RAM available or loaded objects are not frequently used(like game assets).

I've never had a problem loading savegame. I have 16GB and I could load savegame with 2k-2.5k assets enabled( >60GB in-memory) without problems and even with running debugger which took around 2-3GB RAM.

If your page file is too small, the game will crash to desktop without any notification and that's clear sign that your page file is too small to load game with current amount of game assets.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYEYY2FN43MNTPDDNX3PZQ3BBA5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXIAH4A#issuecomment-500171760, or mute the thread https://github.com/notifications/unsubscribe-auth/AMIYFYEK6MZQ3ODSBQKOYK3PZQ3BBANCNFSM4HVWFLGA .

krzychu124 commented 5 years ago

Depends on how many workshop assets you have subscribed. Sometimes <20GB would be enough but I've had a chance to load savegames where having 60GB wasn't enough to load game without crash. If you use 'system preference' please check if you have free disk space available because system will grab that free space for page file to increase it's size if necessary.

jomun commented 5 years ago

I checked the limits of my page file turnes out that my C: drive was running out of memory when loading the game. So I added a new page file to my E: drive which has more space open and I got the game to run normally again so I can say with relief that the problem has been solved.

On Mon, Jun 10, 2019 at 6:59 AM Krzysztof notifications@github.com wrote:

Depends on how many workshop assets you have subscribed. Sometimes <20GB would be enough but I've had a chance to load savegames where having 60GB wasn't enough to load game without crash. If you use 'system preference' please check if you have free disk space available because system will grab that free space for page file to increase it's size if necessary.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/krzychu124/Cities-Skylines-Traffic-Manager-President-Edition/issues/356?email_source=notifications&email_token=AMIYFYCCGRP3FTEFPIOGWU3PZZM35A5CNFSM4HVWFLGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXJ6QBY#issuecomment-500426759, or mute the thread https://github.com/notifications/unsubscribe-auth/AMIYFYCCONHSBZTGDX2ZCXDPZZM35ANCNFSM4HVWFLGA .