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

[Feature Suggestion] RAM allocator #302

Open
RaptaG opened this issue Aug 13, 2021 · 4 comments
Open

[Feature Suggestion] RAM allocator #302

RaptaG opened this issue Aug 13, 2021 · 4 comments

Comments

@RaptaG
Copy link

RaptaG commented Aug 13, 2021

I'm using some resource packs together and my game is laggy, since Minecraft's default RAM allocation is 2 Gigabites. Is it possible for a RAM allocator to be created?

@ChristopherHX
Copy link
Owner

I don't understand

RAM allocation is 2 Gigabites.

This sounds like java edition, malloc / new of this launcher isn't limited by this launcher.

@IKGissmart
Copy link

Yea Add Ram Allocater

@p0ryae
Copy link

p0ryae commented Oct 2, 2021

This is a must have feature especially for a launcher

Hopefully it will get added

@chinoto
Copy link

chinoto commented Oct 18, 2021

Those asking for this feature, do you know what a RAM allocator is?
Most programs use the allocator (malloc) provided by the system (eg, /lib/libc.so.6), but some will use another one such as jemalloc or tcmalloc for various reasons (though I believe they still ultimately go through the system allocator). If you want to use a different allocator, it is possible to override the system allocator for a specific program: https://stackoverflow.com/questions/28227266/how-to-override-standard-libc-functions

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

No branches or pull requests

5 participants