Can't allocate more then 1GB of memory in linux FTB launcher?

  • 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
Status
Not open for further replies.

Cybergast

New Member
Jul 29, 2019
1
0
0
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
 

Azgult

New Member
Jul 29, 2019
69
0
0
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.
 

Geometry

New Member
Jul 29, 2019
468
0
1
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.
 
  • Like
Reactions: Booker The Geek
Status
Not open for further replies.