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

When running a server, don't load minimap previews into memory. #20704

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

RoosterDragon
Copy link
Member

This reduces memory usage when starting up a server for the ra mod from 113 MB to 88 MB.

OpenRA.Server/Program.cs Outdated Show resolved Hide resolved
@pchote
Copy link
Member

pchote commented Feb 26, 2023

Would this be helpful for the utility too?

@PunkPun
Copy link
Member

PunkPun commented Feb 26, 2023

some commands may require maps map previews, that would need more investigation

@ThomasChr
Copy link
Contributor

LGTM

@RoosterDragon
Copy link
Member Author

Would this be helpful for the utility too?

I can't locate any call sites from the utilities that would end up loading preview images, so it would seem not.

@penev92 penev92 merged commit ad122c8 into OpenRA:bleed Mar 1, 2023
@penev92
Copy link
Member

penev92 commented Mar 1, 2023

@RoosterDragon RoosterDragon deleted the server-mem branch March 2, 2023 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants