ChristopherHX / mcpelauncher-manifest

EOL use ng, https://github.com/minecraft-linux/mcpelauncher-manifest/tree/ng, This works with 0.12 - 1.16.10.x (excl. beta 1.16.0.67/68), This won't work with the current 1.16.20-200 Versions
GNU General Public License v3.0
218 stars 21 forks source link

[Feature Suggestion] RAM allocator #302

Open RaptaG opened 3 years ago

RaptaG commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

Yea Add Ram Allocater

p0ryae commented 3 years ago

This is a must have feature especially for a launcher

Hopefully it will get added

chinoto commented 3 years ago

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