Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug 🐞]: Saves take a long time to process #51

Open
jlcarneiro opened this issue Apr 3, 2022 · 5 comments
Open

[Bug 🐞]: Saves take a long time to process #51

jlcarneiro opened this issue Apr 3, 2022 · 5 comments
Assignees
Labels
bug 🐛 An issue with the system. Something isn't working... KSC... we have an error code

Comments

@jlcarneiro
Copy link

jlcarneiro commented Apr 3, 2022

Brief description of your issue

Saves take a long time do process. A quicksave, for example, took 37 seconds (using a SSD!).

Steps to reproduce

Just load the savegame, go to a flight (probe, rover, ship) and hit F5 (quicksave).
quicksave.zip

Expected behavior

It should save in a few (1-2) seconds.

Actual behavior

Don't know why, DeltaV started to show incorrectly and my saves got bigger and bigger and the saving process took longer.
Downgrading to version 2.2.0.0, solved deltaV problem, but savegame issues persisted.

Environment

ScrapYard and OhScrap! Mod version 2.2.0.0
KSP version 1.12.3
Mods downloaded through Github and SpaceDock and manually installed
[KSP.log](https://github.com/zer0Kerbal/ScrapYard/files/8404849/KSP.log)
[Player.log](https://github.com/zer0Kerbal/ScrapYard/files/8404852/Player.log)

How did you download and install this?

mod_versions.txt

GitHub clone (expert manual installation)

@github-actions
Copy link

github-actions bot commented Apr 3, 2022

Thank you. Kindly read contributiing.md, code_of_conduct.md and styleguide.md. These are boilerplate.

@zer0Kerbal
Copy link
Owner

@jlcarneiro thank you for the bug report!

would you kindly drag and drop your KSP.log here?

@zer0Kerbal zer0Kerbal added the bug 🐛 An issue with the system. Something isn't working... KSC... we have an error code label Apr 3, 2022
@zer0Kerbal
Copy link
Owner

zer0Kerbal commented Apr 23, 2023

net-lisias-ksp/KSP-Recall#66

@jlcarneiro

@Lisias
Copy link
Collaborator

Lisias commented Apr 23, 2023

net-lisias-ksp/KSP-Recall#66

With data missing after rerooting the subassembly, these latencies are most than likely chained try-catches crazily trying to cope with tons of NREs or similar Exceptions.

It's still a theory, as I need to steal time somewhere to redo all that tests again with each Add'On affected - but it's a solid one. At least for now.

@zer0Kerbal
Copy link
Owner

@Lisias is it solid progress.

Root Cause Analysis is often painfully slow, but it works effectively well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 An issue with the system. Something isn't working... KSC... we have an error code
Development

No branches or pull requests

3 participants