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

Use static styles to prevent Unity leaks #3201

Merged
merged 1 commit into from
Nov 13, 2021
Merged

Conversation

pleroy
Copy link
Member

@pleroy pleroy commented Nov 13, 2021

Before this PR, the save given in #3064 burns about 120 MiB/minute when the flight planner UI is visible. After this PR, it uses about 10 MiB/minute. Note that we do expect some memory growth due to Principia as the trajectories of the celestials and vessels are extended.

Fix #3064.

@eggrobin eggrobin added the LGTM label Nov 13, 2021
@pleroy pleroy merged commit 3473dbc into mockingbirdnest:master Nov 13, 2021
@Growflavor
Copy link

Growflavor commented Nov 13, 2021

Thank you very much for figuring out the issue! & I love the meme (I shared the sentiment regarding Unity while collecting & observing the dozens of gflags procdump traces under different conditions: "Unity_Player.dll is responsible for 1.01 GBytes of outstanding allocations"... ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants