-
Notifications
You must be signed in to change notification settings - Fork 69
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
Game freezes for long periods of time #2957
Comments
Steps:
Duration of freeze is related in some way to the duration entered, but it's not clear how. The impression I'm getting is that it's "lagging", the freeze duration corresponding to the previous value in the Duration field rather than the updated value. CPU usage drops during the freeze (from ~50% to ~20%); RAM usage seems basically stable (climbing at ~1MB/s, but that's also the case when running normally) |
The impression I'm getting is that something funky is happening at the destruction of the analyzer thread, which would be consistent with this lag. |
Had some trouble replaying the journal, but that will be the subject of another issue. 24% of the CPU spent in |
I found two problems:
The bottom line is that, when |
re. 1., if the computation of the force between celestials takes noticeable time we have a problem; let’s not pepper |
Yesterday I experienced a long freeze after clicking
Delete
on the last manœuvre of a flight plan. Excerpt from the log:Note how it goes in a coma for 80 s. During that time the CPU usage was solid at 25%, i.e., one thread using as much CPU as it could get. To be honest the version is
2021041203-Grassmann-61-g7b25619052da0f37d774ff3340f4aa4a09b51d61
so I could have broken something.Today @lpgagnon reports on Discord:
Note that 200 days in 5 minutes is a warp factor of 60 000× for a single vessel. This is pretty slow.
I'm not sure why/how we would burn CPU on the UI thread, but I am suspecting the orbit analyser. This may also relate to #2953: if we do something expensive on
Delete
, it is conceivable that it would burn memory.May or may not be related: the progress bar seems broken.
@lpgagnon: any change of getting a journal?
The text was updated successfully, but these errors were encountered: