FTB not allocating more memory

  • Please make sure you are posting in the correct place. Server ads go here and modpack bugs go here
  • 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

Runburner

New Member
Jul 29, 2019
6
0
0
Im playing Hatpack on FTB with this machine

Intel(R) Xeon(R) CPU X5560 @ 2.80GHz 4 cores 8 Logi processers.
24GB RAM DIMM speed 1333MHz
and GTX 750 Ti Overclock MSi factory issue.

and i give my Hatpack 18 GB's and when i press F3 i never see it use more then 2200MB. How do i take off that limit? because it is really dragging down my gameplay.
 

Padfoote

Brick Thrower
Forum Moderator
Dec 11, 2013
5,140
5,898
563
Never give FTB more than 4GB of RAM, Java garbage collection will start to freak out. Also ensure you have a 64-bit Java installed. 32-bit will not allow you to go above 1GB IIRC.
 

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
Im playing Hatpack on FTB with this machine

Intel(R) Xeon(R) CPU X5560 @ 2.80GHz 4 cores 8 Logi processers.
24GB RAM DIMM speed 1333MHz
and GTX 750 Ti Overclock MSi factory issue.

and i give my Hatpack 18 GB's and when i press F3 i never see it use more then 2200MB. How do i take off that limit? because it is really dragging down my gameplay.
You need to understand how RAM works. You cannot simply force the game to use more to make it run better. RAM is the space needed to house all the things that are being worked on at the moment. If your MC only needs 2.2GB, then that is because that is the size of the project being worked on. Forcing the workers to work on a small project in a stupendously oversized workshop is not going to help finish the project faster.

As Padfoote pointed out you are actually making things worse by dedicating that much RAM for MC. If you are not using a texturepack you can probably get by with 2.5-3GB. Generally the less the better. Your performance issues could very well be caused by dedicating that much memory.
 

Runburner

New Member
Jul 29, 2019
6
0
0
Ok. So if i just give it 4GB it should work fine? I mean i watch Hatfilms, and they run with like 60 Frames, and their videos look like pristine witch baffles me.
 

tedyhere

New Member
Jul 29, 2019
1,286
0
0
Ok. So if i just give it 4GB it should work fine? I mean i watch Hatfilms, and they run with like 60 Frames, and their videos look like pristine witch baffles me.
That's because they aren't allocating a ridiculous amount of RAM to play. Max I would give the pack is 3Gig of ram possibly 4 Gig. Giving it as much ram as you are giving it is causing HUGE performance issues because of Java dumping huge chunks of unused memory after it doesn't need it anymore.

Also go into your NVIDIA control panel and add Java into the 3D settings so it forces Java to use your card.
 
  • Like
Reactions: rhn and Padfoote

asb3pe

New Member
Jul 29, 2019
2,704
1
1
I played Monster modpack for months while allocating 7 GB of RAM to it and never had any problems, but most people will tell you don't use more that 4GB. I'm playing every modpack in 1.7 and I've never had to allocate more that 4 gigs mainly because I'm no longer using texture packs. I love texture packs, they add so much "flavor" to the game which I feel is missing in vanilla textures, but having no headaches with java or RAM so I think it's worth the trade-off.

THE BIG QUESTION FOR KNOWLEDGABLE FOLKS: Are you using any java arguments? I stopped using all java arguments for 1.7 modpacks, it doesn't seem like I need them anymore since upgrading to the latest java v8. But I dunno, which is why I ask.

Also go into your NVIDIA control panel and add Java into the 3D settings so it forces Java to use your card.

Very interesting, never heard that one before but certainly worth a try. Thanks.
 

GreenZombie

New Member
Jul 29, 2019
2,402
-1
0
Quite simply, F3 tells you how much heap memory Minecraft is using. To minimise the impact of garbage collection - and to ensure you don't actually run out of memory - you want your allocated memory to be not more than 2x your in game usage.
 

Runburner

New Member
Jul 29, 2019
6
0
0
Where do i add it in the Control Panel? And also i did give it 4 GB now and it runs better...Still no 60 frames like those chaps.. :(

PS EDIT: Nvm i think i found it out. Added it to the 3D Program settings and gave it my global options. That correct?
 

tedyhere

New Member
Jul 29, 2019
1,286
0
0
Where do i add it in the Control Panel? And also i did give it 4 GB now and it runs better...Still no 60 frames like those chaps.. :(

PS EDIT: Nvm i think i found it out. Added it to the 3D Program settings and gave it my global options. That correct?

That should do it for you. Yep 3D program settings is where you do the forcing. Minecraft by default wants to use any integrated cards and CPU for rendering. This is the only way I have ever gotten it to use the GPU mostly for rendering. Of course results vary.
 

zemerick

New Member
Jul 29, 2019
667
0
1
Where do i add it in the Control Panel? And also i did give it 4 GB now and it runs better...Still no 60 frames like those chaps.. :(

PS EDIT: Nvm i think i found it out. Added it to the 3D Program settings and gave it my global options. That correct?

You don't need to worry about the nvidia setting to use your graphics card because you don't have an integrated GPU.

Also, you can't just expect to get the same performance as someone else without comparing hardware. If they have a CPU that's 3 times faster than yours, then they're going to get far better performance. I didn't look around much, but I couldn't find the specs for their systems.
 
  • Like
Reactions: Padfoote

rhn

Too Much Free Time
Nov 11, 2013
5,706
4,420
333
Also, you can't just expect to get the same performance as someone else without comparing hardware. If they have a CPU that's 3 times faster than yours, then they're going to get far better performance. I didn't look around much, but I couldn't find the specs for their systems.
Yeah and you cannot really expect top line performance with a 6 year old CPU either.