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

Reduce memory usage #120

Open
rsubtil opened this issue Feb 14, 2023 · 1 comment
Open

Reduce memory usage #120

rsubtil opened this issue Feb 14, 2023 · 1 comment
Labels
enhancement New feature or request topic:core Issues or pull requests related to RetroHub itself

Comments

@rsubtil
Copy link
Member

rsubtil commented Feb 14, 2023

Memory usage is at somewhat acceptable levels during themes (100~200MB), but it remains at 100MB when launching a game. This is too high, especially for some platforms like Raspberry Pi's.

Some investigation is needed to find out what is consuming so much memory, and reduce it.

@rsubtil rsubtil added enhancement New feature or request topic:core Issues or pull requests related to RetroHub itself labels Feb 14, 2023
@rsubtil rsubtil added this to the First Beta milestone Feb 14, 2023
@rsubtil rsubtil modified the milestones: v0.1.0 (first beta), v0.2.0 Feb 22, 2023
@rsubtil rsubtil removed this from the v0.2.0 milestone Jul 22, 2023
@rsubtil
Copy link
Member Author

rsubtil commented Jan 4, 2024

Using malloc_trim showed some great memory reductions when launching themes. A custom engine patch can be done to introduce this, but need to investigate if this is Linux-specific or it can be applied to all 3 OSes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic:core Issues or pull requests related to RetroHub itself
Projects
None yet
Development

No branches or pull requests

1 participant