I've been playing with only Custom NPCs and Forge installed and after a few minutes into any game, it will begin to have lag spikes to the point where it freezes every few seconds. The best solution I've found to this is allocating more memory in JVM arguments but it hasn't worked too well as it now crashes whenever something suddenly has to load (like dozens of chunks at a time).
Forge on its own causes much lag in general without periodic spikes and vanilla minecraft works as it should, other than checking with the mod creators (which I have), what else can I do? Or is there a better way to allocate more memory?
Rollback Post to RevisionRollBack
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Never touch the Xmn argument. Never. That's a special memory area and it is meant to be very small. May be even better to remove the argument and allow Java to handle that automatically.
Changing max assigned RAM (the Xmx argument) only have any real effects if you actually need to use more RAM. 2GB is sufficient for almost anything. More then 4 is overkill and may cause performance issues because Java can't handle large amounts of memory well.
Strange, Minecraft runs whenever I edit the Xmn argument and there is noticeable performance change but whenever I change the Xmx argument it won't even run giving me an error message on the launcher saying:
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
That was with just changing it to Xmx2G
Rollback Post to RevisionRollBack
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
2. Not using 64 bit Java. Which you should (provided yo're using 64 bit Windows).
Ah! There's my problem, you see, I have a 64 bit operating system but whenever I try to download browsers they only offer 32 bit with no link to 64 bit which is what I need to get 64 bit java I presume. I'm on other forums looking for this cause right now unless you happen to know anything then I would greatly appreciate it.
No. You don't need a 64bit browser for 64bit Java. What gave you that idea?
Get the installer from java.com
The Java download guides said it would only download for 64 bit browsers and I haven't found a link to specifically download 64 bit java. It just keeps telling me to download 32 bit because of my browser.
Edit: After scouring the entire java website I finally found one link for windows 64 bit! I'm downloading it right now and I may still need assistance in changing the arguments.
RtYyU36 I have a video on my YT channel that i put in JVM arguments and how to make minecraft faster and yes grimallq i fixed the JVM arguments problem that caused broken pipe.
RtYyU36 I don't want to advertise but please watch this vid and use my JVM arguments
The Java download guides said it would only download for 64 bit browsers and I haven't found a link to specifically download 64 bit java. It just keeps telling me to download 32 bit because of my browser.
Edit: After scouring the entire java website I finally found one link for windows 64 bit! I'm downloading it right now and I may still need assistance in changing the arguments.
I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
To take the test, check out https://minecraftnoobtest.com/test.php
I've been playing with only Custom NPCs and Forge installed and after a few minutes into any game, it will begin to have lag spikes to the point where it freezes every few seconds. The best solution I've found to this is allocating more memory in JVM arguments but it hasn't worked too well as it now crashes whenever something suddenly has to load (like dozens of chunks at a time).
Forge on its own causes much lag in general without periodic spikes and vanilla minecraft works as it should, other than checking with the mod creators (which I have), what else can I do? Or is there a better way to allocate more memory?
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Yea, I essentially looked at several different guides and determined it for myself.
It usually looks like this: -Xmx1G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy -Xmn128M
And I've alternated the -Xmn128M to Xmn512M which is what has worked the best.
There have been some that claim you can change the Xmx1G to something else but it never works with me.
Edit: I've altered it to 256 and it seems to work a bit better.
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Strange, Minecraft runs whenever I edit the Xmn argument and there is noticeable performance change but whenever I change the Xmx argument it won't even run giving me an error message on the launcher saying:
Error occurred during initialization of VM
Could not reserve enough space for 2097152KB object heap
Java HotSpot(TM) Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release
That was with just changing it to Xmx2G
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Ah! There's my problem, you see, I have a 64 bit operating system but whenever I try to download browsers they only offer 32 bit with no link to 64 bit which is what I need to get 64 bit java I presume. I'm on other forums looking for this cause right now unless you happen to know anything then I would greatly appreciate it.
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
The Java download guides said it would only download for 64 bit browsers and I haven't found a link to specifically download 64 bit java. It just keeps telling me to download 32 bit because of my browser.
Edit: After scouring the entire java website I finally found one link for windows 64 bit! I'm downloading it right now and I may still need assistance in changing the arguments.
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
RtYyU36 I have a video on my YT channel that i put in JVM arguments and how to make minecraft faster and yes grimallq i fixed the JVM arguments problem that caused broken pipe.
RtYyU36 I don't want to advertise but please watch this vid and use my JVM arguments
Java.com is an out-of-date website, as Java is now maintained by Oracle. Go here instead: http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!


To take the test, check out
https://minecraftnoobtest.com/test.php
Don't click this link, HE is haunting it...
It's fine I already found a link that appears to work.
War is great to those who have not experienced it - Pindar
Ο πόλεμος είναι μεγάλη για εκείνους που δεν έχουν βιώσει - Πίνδαρος
Ok Good