mcpelauncher-manifest icon indicating copy to clipboard operation
mcpelauncher-manifest copied to clipboard

[Feature Suggestion] RAM allocator

Open RaptaG opened this issue 3 years ago • 4 comments

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?

RaptaG avatar Aug 13 '21 19:08 RaptaG

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.

ChristopherHX avatar Aug 13 '21 19:08 ChristopherHX

Yea Add Ram Allocater

IKGissmart avatar Aug 14 '21 08:08 IKGissmart

This is a must have feature especially for a launcher

Hopefully it will get added

p0ryae avatar Oct 02 '21 00:10 p0ryae

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

chinoto avatar Oct 18 '21 16:10 chinoto