Free more RAM for MC?

Di
16

Minecraft is jerky and I can't even play on the server or even solo. I personally believe it is due to RAM. I don't have such a good laptop either, but in the past it always worked and now I wonder how I can give MC more RAM.

Would be nice if you could help me.

Ja

JVM start arguments in the launcher…

And if you have LabyMod, say goodbye to it because it eats power unnecessarily and prefer to use only OptiFine without LabyMod

My

It is simply because a laptop is not designed for gaming. In addition, you can't intervene in the storage processes of the working memory, as much is used as necessary. If it is too short, it jerky; may also be due to poor laptop performance.

things are designed for mobility, energy saving and compact equipment. Gaming means full throttle with enormous heat development and a laptop has design problems because it can only accommodate "bonsai cooling".

Ja

Minecraft is anything but full throttle, with JVM start arguments you can allocate more RAM. Because the JVM limits an application's allocated memory by default.

Di

Ok dnake I'll give it a try.

Di

Tried it but when I wanted to go into a world something with "out of memory" could I fix it somehow? 4

ta

To answer the question: buy and install more RAM.

But: jerking does not have to have anything to do with the RAM. Furthermore (not so good) laptops are not gaming machines. I have to assume that the stuttering is more due to the graphics card than the RAM.

ta

However, an increased RAM allocation by Java will not solve the problem.
With "not so good" laptops, the Java performance should be limited anyway.

Ja

Do you have 32 bits? What is the maximum amount of RAM your laptop has and how much have you allocated?

Ja

Are you clairvoyant or how do you know? Do you know his hardware? Do you know what mods he has that may have memory leaks?

A memory leak from incompetent mods would also make your PC sweat.

He writes that things used to go well, so what can the hardware be wrong with?

Every 0815 office box with an Intel graphic creates this game if you don't overdo it…

ta

Yes, I know his hardware roughly since I read the question.

The questioner himself states that his box - quote: "Not so good".
It should not be a gaming laptop.

Java is a brake on performance anyway. Especially on laptops that are "not so good".

What the questioner did not write is that MODs are used. Again, this is only a guess on the part of the service, which is not capped by any information.

Ja

I don't have such a good laptop either, but in the past it always worked and now I ask

Read that after the decimal point, maybe it will take you away from your destructive course

Di

I already have a gaming laptop, but unfortunately it is very bad, it didn't go as well from the beginning but cost trzd vieel.

Di

64 bit and 8 GB

Ja

Show your JVM arguments, you have to activate them in Minecraft Launcher. Do you also have a 64 bit Java runtime? Any mods?

Di

-Xmx2G -XX: + UnlockExperimentalVMOptions -XX: + UseG1GC -XX: G1NewSizePercent = 20 -XX: G1ReservePercent = 20 -XX: MaxGCPauseMillis = 50 -XX: G1HeapRegionSize = 32M

that stands there once and java leaves already had laby mod once but is now deleted again

Ja

Xmx is the parameter for the main memory, write times instead of 2 4, then you have for -Xmx4G

So 4 GB of RAM allocated.