PojavLauncherTeam / PojavLauncher

A Minecraft: Java Edition Launcher for Android and iOS based on Boardwalk. This repository contains source code for Android platform.
GNU Lesser General Public License v3.0
6.9k stars 1.3k forks source link

Free JVM Launch arguments that can boost your FPS.. #668

Closed LANCECRAFT1104 closed 3 years ago

LANCECRAFT1104 commented 3 years ago

For (3 GB) RAM:

-Xmx1G -Xms1G -Xmn128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=2000 -XX:ParallelGCThreads=10

For (4GB and Up):

-Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 Describe the solution you'd like A clear and concise description of what you want to happen.

Additional context Important Note From xealgaming.net

READ THIS↓

  1. Connected Textures in your video options must be turned off.
  2. Don't assign too much RAM. Always leave 2GB RAM.
WesleyVanNeck commented 3 years ago

1 warning left this is a issue tracker not chat or ticket thingie plz go to discord or i will ban you from the repo https://discord.gg/zSyttAMp and ignoring me is bad

artdeell commented 3 years ago

@LegacyGamerHD do you think that you've taken it too far

WesleyVanNeck commented 3 years ago

@LegacyGamerHD do you think that you've taken it too far

no as its second time also he is using isseu tracker like a talking platform ant it aint that

WesleyVanNeck commented 3 years ago

@LegacyGamerHD do you think that you've taken it too far

but if you think its alright then welp who am to say ....

WesleyVanNeck commented 3 years ago

but still @LANCECRAFT1104 is ignoring me because i closed hise kinda childish

LANCECRAFT1104 commented 3 years ago

Why are so mad of me?

WesleyVanNeck commented 3 years ago

am not mad

LANCECRAFT1104 commented 3 years ago

This is the link https://xealgaming.net/threads/optimising-your-minecraft-jvm-arguments.4758/

LANCECRAFT1104 commented 3 years ago

It says here he si running at 48 FPS before this and now he is running at 100 FPS! :D

IMG_20210122_000255

BryleHelll commented 3 years ago

Woah

BryleHelll commented 3 years ago

Lemme try that one

Zeyrox1090 commented 3 years ago

lol its just like auto ram

Zeyrox1090 commented 3 years ago

maybe idk lol

LANCECRAFT1104 commented 3 years ago

For more information about the JVM Launch arguments go here Just turn off connected textures and leave 2 GB RAM on your phone.

Zeyrox1090 commented 3 years ago

-Xmx1G -Xms1G -Xmn128m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=2000 -XX:ParallelGCThreads=10

Zeyrox1090 commented 3 years ago

lol

LANCECRAFT1104 commented 3 years ago

lol

???

EXPress-016 commented 3 years ago

For many mods try this -Xmx10g -Xms10g -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10

artdeell commented 3 years ago

It's pretty bad to allocate 10 gigabytes RAM if you have less

EXPress-016 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

Mathias-Boulay commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

You surely have the auto ram adjuster, right ?

LANCECRAFT1104 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram:

-Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10

And turn on "auto ram".

EXPress-016 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

You surely have the auto ram adjuster, right ?

No

EXPress-016 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram:

-Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10

And turn on "auto ram".

This one is slow for mods loading

555LPWRCDV commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram: -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 And turn on "auto ram".

This one is slow for mods loading

LOL! your phone will heat up and it will get lagy if you use 10GB are you crazy?🤨 You have only 4 GB.

555LPWRCDV commented 3 years ago

Don't use all your ram it says on the link.

EXPress-016 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram: -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 And turn on "auto ram".

This one is slow for mods loading

LOL! your phone will heat up and it will get lagy if you use 10GB are you crazy?🤨 You have only 4 GB.

My mobile not heat up with 10gb ram I am using that

Malaska678 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram: -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 And turn on "auto ram".

This one is slow for mods loading

LOL! your phone will heat up and it will get lagy if you use 10GB are you crazy?🤨 You have only 4 GB.

My mobile not heat up with 10gb ram I am using that

I have 1 tb of ram

Malaska678 commented 3 years ago

🤟🤟

Zeyrox1090 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram: -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 And turn on "auto ram".

This one is slow for mods loading

LOL! your phone will heat up and it will get lagy if you use 10GB are you crazy?🤨 You have only 4 GB.

My mobile not heat up with 10gb ram I am using that

I have 1 tb of ram

i have 1 pb of ram

Zeyrox1090 commented 3 years ago

🤟🤟🤟🤟

EXPress-016 commented 3 years ago

🤟🤟🤟🤟

Then sell the ram and buy a PC.

Zeyrox1090 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram: -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 And turn on "auto ram".

This one is slow for mods loading

LOL! your phone will heat up and it will get lagy if you use 10GB are you crazy?🤨 You have only 4 GB.

My mobile not heat up with 10gb ram I am using that

I have 1 tb of ram

i have 1 pb of ram

and i will sell ram lol

Zeyrox1090 commented 3 years ago

hi mg

LanceYTStudioZ commented 3 years ago

Pag gusto nyu gamitin 10 GB I connect nyu phone nyu sa CPU ng PC HAHAHAHAH😅!

khanhduytran0 commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that My mobile not heat up with 10gb ram I am using that

@Atifexpress So what happen if Minecraft uses more?

khanhduytran0 commented 3 years ago

Let's try fire up some TNT and see what will happen.

LanceYTStudioZ commented 3 years ago

Let's try fire up some TNT and see what will happen.

It will get lag.

ghost commented 3 years ago

@LANCECRAFT1104 you have for 2gb ram?

EXPress-016 commented 3 years ago

@LANCECRAFT1104 you have for 2gb ram?

For 2GB ram:

-Xmx2G -Xms2G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10

And turn on "auto ram".

ghost commented 3 years ago

Nice 🙂

Gjbcujv commented 3 years ago

I have proplem when i play on minecraft java 1.12 forge the game say to me error but i not hsve any error and the game crash becuse nothing

LanceAldrei04 commented 3 years ago

@LANCECRAFT1104 you have for 2gb ram?

He have 3GB ram

GamerGodYes commented 3 years ago

Gamers

LANCECRAFT1104 commented 3 years ago

Did you enjoy my JVM Args? I run 40-100+ FPS my highest FPS 120.

GamersGodYes commented 3 years ago

Y e s

ghost commented 3 years ago

It didn't work for me tho

LANCECRAFT1104 commented 3 years ago

It didn't work for me tho

Huh?

SevenIsNotNumber commented 3 years ago

But I have 4 GB ram. available ram 2gb and I use that

For 4GB ram: -Xmx3G -Xms3G -Xmn768m -XX:+DisableExplicitGC -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+UseNUMA -XX:+CMSParallelRemarkEnabled -XX:MaxTenuringThreshold=15 -XX:MaxGCPauseMillis=30 -XX:GCPauseIntervalMillis=150 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -XX:MaxTenuringThreshold=15 -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -XX:+UseFastAccessorMethods -XX:+UseCompressedOops -XX:+OptimizeStringConcat -XX:+AggressiveOpts -XX:ReservedCodeCacheSize=2048m -XX:+UseCodeCacheFlushing -XX:SoftRefLRUPolicyMSPerMB=10000 -XX:ParallelGCThreads=10 And turn on "auto ram".

This one is slow for mods loading

LOL! your phone will heat up and it will get lagy if you use 10GB are you crazy?🤨 You have only 4 GB.

My mobile not heat up with 10gb ram I am using that

I have 1 tb of ram

i have 1 pb of ram

and i will sell ram lol

ghost commented 3 years ago

How to get 100fps? Buy new PHONE NOT WITH JVM LAUNCH ARGUMENT!