The FTB Forum is now read-only, and is here as an archive.
To participate in our community discussions, please join our Discord! https://ftb.team/discord
My FTB keeps on getting lag spikes because java has to free up memory every 3 seconds because FTB uses more then the 1GB that I can allocate. Any ideas on how I can fix this?
I am using 32 bit openJDK 7 on 32 bit Ubuntu 12.10 with 6GB of RAM
Not sure if anything can be done about the memory limit, but I stumbled apon this option recently which you may want to try in the additional java options part of advanced settings:
Code:
-Xincgc
This should smooth out the lag spikes so to say, as the garbage collector will run in parallel to minecraft. That said, I haven't really had any opportunity to test it.
You need to have a 64 bit version of java installed to allocate more than 1gb ram. In order to be able to install a 64 bit version of java, you must be using a 64 bit operating system.