Ok, let's go straight to the thing: I'm trying to make a mod pack for my own use, and I chose mc 1.7.10 just for the amount of mods that haven't updated any further. After I've finished gathering, testing and tweaking mods' configs, I finally decide to give the whole thing a long test, let's say a good 2 hours of real gameplay. The thing is, after no more than 30, maybe 40 minutes, the game started lagging as hell, and I went from 40-60 fps to have lag skpikes of 5 fps and then back to normal. And that happened every 10-20 seconds.
Looking at F3 data I realized it was a Memory problem, as its usage scaled up to 99% and then the lag started. I assume it's caused by Garbage collection. In further testing, the time lapse until the RAM got full started lowering, and now I can barely get 5 minutes of gameplay until it starts.
I decided to make a heap dump of minecraft when memory was high (but just after the GC) and then got JProfiler to analice it . Result: the most memory was taken by texturePositionVertex objects. I though I had a firepit candidate, but the call trees for each object was from a different mod. This is supported by the fact that the pie chart in F3 mode shows that rendering is taking up to 96% of resources. (though I'm not sure if that chart measures RAM or CPU usage). One thing that caught my attention was that the class was from Minecraft itself, but was deobfuscated, which led my to thing it was being overridden by some core mod.
I just tried disabling every mod that overwrites rendering (optifine and fastcraft for instance) and also NEI (I thought all of that rendering could come from its creative+ inventory). No luck. I still have this wild RAM usage, even standing still in the spawn point.
At this point I'm considering taking the od route of taking half the mods out and testing, but i'd rather avoid it if possible
Thx in advance! Any suggestion is well received!
Here I'm leaving all relevant information about my setup:
Java arguments (though I've changed them a couple times, tried -Xmx from 1500M to 3000M):
-Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
PC specs:
OS: Windows 10 Pro 64-bit
Java: version 8 update 91, 64 bits
Processor: AMD 6100 Six-Core 3300 Mhz, 3 Core(s), 6 Logical Processor(s)
RAM: 8gb (4.6 avaliable acording to OS)
Video card:NVIDIA GTX 650 Ti BOOST
Rollback Post to RevisionRollBack
Sorry if I make mistakes when writing. I'm from Argentina.
There is one God. The creator of the heavens and the earth, who sent his son down to earth to save us... he loves you and he's pursuing you. Return to him.
"Some may say that you are a Christian because you were raised in a christian family, but even if my mother was a calculus teacher, no mater what she told me, two plus two would still equal four." - Dr. S. Jenkins
"I'm not a hater, I just know you're wrong. You need to realize that." - Unknown
Thanks! I'll try them as soon as I'm on my own pc. BTW, logs shown nothing about memory leaks. My last log shows a couple things that may be important but idk...
[23:04:32] [Client thread/INFO]: Found mod(s) [ImmersiveEngineering] containing declared API package cofh.api (owned by CoFHLib) without associated API reference
[23:04:33] [Client thread/INFO]: FML has found a non-mod file [1.7.10][1.2] MC+ API.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:04:33] [Client thread/INFO]: FML has found a non-mod file CodeChickenLib-1.7.10-1.1.3.138-universal.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
EDIT: DerpSquad1O1 that would be terrible :/ Not only I'm allowing java to eat RAM that the system or background processes need, but also, it would only gimme a couple more minutes before it stacks up to 100%, and then the lag spkies would be longer as the GC would need to clean a lot more
I use that same amount and I have 66 mods. I have no trouble... Where did this information come from?
Rollback Post to RevisionRollBack
There is one God. The creator of the heavens and the earth, who sent his son down to earth to save us... he loves you and he's pursuing you. Return to him.
"Some may say that you are a Christian because you were raised in a christian family, but even if my mother was a calculus teacher, no mater what she told me, two plus two would still equal four." - Dr. S. Jenkins
"I'm not a hater, I just know you're wrong. You need to realize that." - Unknown
There is one God. The creator of the heavens and the earth, who sent his son down to earth to save us... he loves you and he's pursuing you. Return to him.
"Some may say that you are a Christian because you were raised in a christian family, but even if my mother was a calculus teacher, no mater what she told me, two plus two would still equal four." - Dr. S. Jenkins
"I'm not a hater, I just know you're wrong. You need to realize that." - Unknown
Ok, let's go straight to the thing: I'm trying to make a mod pack for my own use, and I chose mc 1.7.10 just for the amount of mods that haven't updated any further. After I've finished gathering, testing and tweaking mods' configs, I finally decide to give the whole thing a long test, let's say a good 2 hours of real gameplay. The thing is, after no more than 30, maybe 40 minutes, the game started lagging as hell, and I went from 40-60 fps to have lag skpikes of 5 fps and then back to normal. And that happened every 10-20 seconds.
Looking at F3 data I realized it was a Memory problem, as its usage scaled up to 99% and then the lag started. I assume it's caused by Garbage collection. In further testing, the time lapse until the RAM got full started lowering, and now I can barely get 5 minutes of gameplay until it starts.
I decided to make a heap dump of minecraft when memory was high (but just after the GC) and then got JProfiler to analice it . Result: the most memory was taken by texturePositionVertex objects. I though I had a firepit candidate, but the call trees for each object was from a different mod. This is supported by the fact that the pie chart in F3 mode shows that rendering is taking up to 96% of resources. (though I'm not sure if that chart measures RAM or CPU usage). One thing that caught my attention was that the class was from Minecraft itself, but was deobfuscated, which led my to thing it was being overridden by some core mod.
I just tried disabling every mod that overwrites rendering (optifine and fastcraft for instance) and also NEI (I thought all of that rendering could come from its creative+ inventory). No luck. I still have this wild RAM usage, even standing still in the spawn point.
At this point I'm considering taking the od route of taking half the mods out and testing, but i'd rather avoid it if possible
Thx in advance! Any suggestion is well received!
Here I'm leaving all relevant information about my setup:
Mod list:
FML__________________{7.10.99.99}__________[Forge_Mod_Loader]
Forge________________{10.13.4.1614}________[Minecraft_Forge]
CodeChickenCore______{1.0.7.47}____________[CodeChicken_Core]
gasesCore____________{1.6.3}_______________[Glenn's_Gases_Core]
gasesFrameworkCore___{1.2.0}_______________[Gases_Framework_Core]
PlayerAPI____________{1.4}_________________[Player_API]
RenderPlayerAPI______{1.0}_________________[Render_Player_API]
SmartCore____________{1.0.3}_______________[Smart_Core]
SomniaCore___________{1.3.1.55}____________[SomniaCore]
mod_ThreadedLighting_{1.7.10-1.0}__________[Threaded_Lighting]
gilded-games-util____{1.7.10-1.2}__________[Gilded_Games_Utility]
battlegear2__________{1.7.10}______________[Mine_&_Blade_Battlegear_2_-_Bullseye]
RoxaStoneStairs______{1.7.2.5}_____________[Roxa's_Stone_Stairs_Mod]_
RoxaTallDoors________{1.7.2.5}_____________[Roxa's_Tall_Doors_Mod]
MCP_BattleHearts_____{1.1.1}_______________[MC+_BattleHearts]_
MCP_Wheel____________{1.1.2}_______________[MC+_Wheel]
MCP_Cart_____________{1.3.0}_______________[MC+_Cart]
MCP_GrainMix_________{1.2.0}_______________[MC+_GrainMix]
MCP_Loom_____________{1.2.3}_______________[MC+_Loom]
MCP_Region___________{1.2.0}_______________[MC+_Region]
MCP_Shatter__________{1.0.0}_______________[MC+_Shatter]
MCP_SoulExtractor____{1.0.3}_______________[MC+_SoulExtractor]
MCP_TrappedLadder____{1.1.2}_______________[MC+_TrappedLadder]
MCP_WildAnimal_______{1.0.0}_______________[MC+_WildAnimal]
MCP_WoodenBucket_____{1.2.0}_______________[MC+_WoodenBucket]
bspkrsCore___________{6.16}________________[bspkrsCore]
Treecapitator________{1.7.10}______________[Treecapitator]
aether_______________{1.7.10-1.6}__________[Aether_II]
AncientWarfare_______{2.4.114-beta}________[Ancient_Warfare_Core]
AW-Automation________{2.4.114-beta}________[Ancient_Warfare_Automation]
AW-NEIPlugin_________{2.4.114-beta}________[Ancient_Warfare_NEI_Plugin]
AW-Npc_______________{2.4.114-beta}________[Ancient_Warfare_NPCs]
AW-Structure_________{2.4.114-beta}________[Ancient_Warfare_Structures]
AnimationAPI_________{1.2.4}_______________[AnimationAPI]
AppleCore____________{1.3.1}_______________[AppleCore]
aquacreeper__________{1.0b}________________[Aqua_Creeper]
betterstorage________{0.13.1.127}__________[BetterStorage]
BiblioCraft__________{1.11.4}______________[BiblioCraft]
BiomesOPlenty________{2.1.0}_______________[Biomes_O'_Plenty]
BiblioWoodsBoP_______{1.9}_________________[BiblioWoods_Biomes_O'Plenty_Edition]
climatecontrol_______{0.4}_________________[Climate_Control]
CraftHeraldry________{1.1.3}_______________[CraftHeraldry]
CustomSpawner________{3.3.0}_______________[DrZhark's_CustomSpawner]
CustomOreGen_________{1.2.24}______________[Custom_Ore_Generation]
MoCreatures__________{6.3.1}_______________[DrZhark's_Mo'Creatures_Mod]
etfuturum____________{1.5.5}_______________[Et_Futurum]
exnihilo_____________{1.38-49}_____________[Ex_Nihilo]
Railcraft____________{9.12.2.0}____________[Railcraft]
ImmersiveEngineering_{0.7.7}_______________[Immersive_Engineering]
Mantle_______________{0.3.2.jenkins184}____[Mantle]
TConstruct___________{1.8.8.build988}______[Tinkers'_Construct]
exastrisrebirth______{MC1.7.10-1.01-45}____[Ex_Astris_Rebirth]
ExplorerCraft________{0.9.6}_______________[ExplorerCraft]
Steamcraft___________{0.29.2}______________[Flaxbeard's_Steam_Power]
gasesFramework_______{1.2.0}_______________[Gases_Framework]
gases________________{1.6.3}_______________[Glenn's_Gases]
CARuins______________{0.1.9}_______________[Cellular_Automata_Generator]
GreatWallMod_________{0.1.9}_______________[Great_Wall_Mod]
WalledCityMod________{0.1.9}_______________[Walled_City_Generator]
glass_shards_________{1.5.2}_______________[Glass_Shards]
GollumCoreLib________{2.0.0}_______________[Gollum_Core_Lib]
GraveStone___________{2.16.1}______________[GraveStone]
Growthcraft__________{1.7.10-2.5.0}________[Growthcraft]
Growthcraft|Cellar___{1.7.10-2.5.0}________[Growthcraft_Cellar]
Growthcraft|Apples___{1.7.10-2.5.0}________[Growthcraft_Apples]
Growthcraft|Bees_____{1.7.10-2.5.0}________[Growthcraft_Bees]_
Growthcraft|Fishtrap_{1.7.10-2.5.0}________[Growthcraft_Fishtrap]_
Growthcraft|Grapes___{1.7.10-2.5.0}________[Growthcraft_Grapes]_
Growthcraft|Hops_____{1.7.10-2.5.0}________[Growthcraft_Hops]_
Growthcraft|Milk_____{1.7.10-2.5.0}________[Growthcraft_Milk]
Growthcraft|Rice_____{1.7.10-2.5.0}________[Growthcraft_Rice]_
HopperDuctMod________{1.3.2}_______________[Hopper_Ducts]
immersiveintegration_{0.6.8}_______________[Immersive_Integration]
jacb_________________{1.0.4}_______________[JACB]
JammyFurniture_______{5.0.0}_______________[Jammy_Furniture_Mod]_
latticemod___________{1.0}_________________[Lattice_Mod]_
LotsOfFood___________{1.7.10}______________[Lots_of_Food]_
MorePistons__________{2.0.0}_______________[More_Pistons]
MouseTweaks__________{2.4.4}_______________[Mouse_Tweaks]
AS_MultiMine_________{1.4.4}_______________[Multi_Mine]_
MutantCreatures______{1.4.9}_______________[Mutant_Creatures]
parachutemod_________{1.7.10}______________[Parachute_Mod]
pchan3_______________{0.7}_________________[PChan3_mods]
primitivemobs________{1.0}_________________[Primitive_Mobs]
RealisticTorches_____{1.5.4}_______________[Realistic_Torches]_
RedstonePasteMod_____{1.6.2}_______________[Redstone_Paste]
Revamp_______________{1.3.1}_______________[Revamp] corerm_______________{1.0c}________________[RikMuld's_Core]
RTG__________________{0.7.0}_______________[Realistic_Terrain_Generation]
AS_Ruins_____________{15.4}________________[Ruins_Spawning_System]
hoy__________________{1.7.10-10.13.0-16.1}_[Hoy]
punt_________________{1.7.10-10.13.0-16.1}_[Punt]_
smallboats___________{1.7.10-10.13.0-16.1}_[SmallBoats_(base)]_
whitehall____________{1.7.10-10.13.0-16.1}_[Whitehall]
SmartMoving__________{15.6}________________[Smart_Moving]_
SmartRender__________{2.1}_________________[Smart_Render]
Somnia_______________{-au}_________________[Somnia]_
camping______________{2.1g}________________[The_Camping_Mod_2]
thirstmod____________{1.8.9}_______________[Thirst_Mod]_
tumbleweed___________{1.7.10-0.2}__________[Tumbleweed]_
weaponmod____________{v1.14.3}_____________[Balkon's_WeaponMod]
HungerOverhaul_______{1.7.10-1.0.0}________[Hunger_Overhaul]_
Java arguments (though I've changed them a couple times, tried -Xmx from 1500M to 3000M):
-Xmx3G -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -XX:-UseAdaptiveSizePolicy
PC specs:
OS: Windows 10 Pro 64-bit
Java: version 8 update 91, 64 bits
Processor: AMD 6100 Six-Core 3300 Mhz, 3 Core(s), 6 Logical Processor(s)
RAM: 8gb (4.6 avaliable acording to OS)
Video card:NVIDIA GTX 650 Ti BOOST
Bump.
Bump.
Try using these Java arguments, they help me out a ton.
If that doesn't help, explore the log files and see if your client is complaining about anything leaking, sometimes it says the mod culprit.
Take your ram all the way to 6gbs
There is one God. The creator of the heavens and the earth, who sent his son down to earth to save us... he loves you and he's pursuing you. Return to him.
"Some may say that you are a Christian because you were raised in a christian family, but even if my mother was a calculus teacher, no mater what she told me, two plus two would still equal four." - Dr. S. Jenkins
"I'm not a hater, I just know you're wrong. You need to realize that." - Unknown
Thanks! I'll try them as soon as I'm on my own pc. BTW, logs shown nothing about memory leaks. My last log shows a couple things that may be important but idk...
[23:04:32] [Client thread/INFO]: Found mod(s) [ImmersiveEngineering] containing declared API package cofh.api (owned by CoFHLib) without associated API reference
[23:04:33] [Client thread/INFO]: FML has found a non-mod file [1.7.10][1.2] MC+ API.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
[23:04:33] [Client thread/INFO]: FML has found a non-mod file CodeChickenLib-1.7.10-1.1.3.138-universal.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible.
EDIT: DerpSquad1O1 that would be terrible :/ Not only I'm allowing java to eat RAM that the system or background processes need, but also, it would only gimme a couple more minutes before it stacks up to 100%, and then the lag spkies would be longer as the GC would need to clean a lot more
I use that same amount and I have 66 mods. I have no trouble... Where did this information come from?
There is one God. The creator of the heavens and the earth, who sent his son down to earth to save us... he loves you and he's pursuing you. Return to him.
"Some may say that you are a Christian because you were raised in a christian family, but even if my mother was a calculus teacher, no mater what she told me, two plus two would still equal four." - Dr. S. Jenkins
"I'm not a hater, I just know you're wrong. You need to realize that." - Unknown
http://www.minecraftforum.net/forums/support/modded-client-support/tutorials-and-faqs/2464197-the-jvm-garbage-collection-and-performance
That's odd. Well, just take the autosave button in Optifine to 30min instead of 2sec
PS
Are you a Playstation guy?
"Really? Screw you, Xbox"
elchk. Playstation's weird.
but if you're PC only, we're all ok.
There is one God. The creator of the heavens and the earth, who sent his son down to earth to save us... he loves you and he's pursuing you. Return to him.
"Some may say that you are a Christian because you were raised in a christian family, but even if my mother was a calculus teacher, no mater what she told me, two plus two would still equal four." - Dr. S. Jenkins
"I'm not a hater, I just know you're wrong. You need to realize that." - Unknown
Of course I don't have it at 2 sec XD Did you even read the post? lol