[BUG] Stutter & Freeze with CPU spikes
AnEnemyChampion opened this issue ยท 2 comments
Technical Specs (please complete the following information):
- Craft to Exile Version 2.10.6
- World Type Multiplayer
- RAM Allocation 4GB, 8GB, and 6 GB
Describe the bug
A clear and concise description of what the bug is.
The game will run appropriately for a period of time, then it will begin to intermittently stutter and freeze with high CPU spikes and 0 GPU usage at the time of the spike.
To Reproduce
Steps to reproduce the behavior:
- Launch the mod through the Curseforge launcher
- Join the multiplayer server
- Play on the server for a period of time, then go to an area with a large amount of entities ( i.e a dungeon )
- Play until the game begins to intermittently stutter and freeze with high CPU spikes. This can take between 1-10 minutes.
Expected behavior
A clear and concise description of what you expected to happen.
The game should be able to play consistently with anywhere between 4 and 8 gb of allocated RAM, without stuttering.
Additional Information (screen shots, etc.)
Add any other context about the problem here.
My Specs: Nvidia GTX 1070, intel i7, and 32 gb of RAM.
I did not have this issue the first time I played the mod with my friends and in singleplayer. We were able to get to the bottom of a brick tower dungeon with tons of mobs around and I still did not stutter. Without changing any settings, the next time I loaded the mod I began to have this stutter issue whenever I was around mobs.
I have troubleshooted by adding the additional arguments to the launcher with it still not being resolved. The other players all use the curseforge client as well, who have not added any additional arguments to the launcher, and they have not been experiencing this issue.
My current argument line: "-Xmx8192m -Xms256m -XX:PermSize=256m -Dminecraft.applet.TargetDirectory="C:\Users\MyUsername\Documents\Curse\Minecraft\Instances\Craft to Exile [Dissonance]" -Dfml.ignorePatchDiscrepancies=true -Dfml.ignoreInvalidMinecraftCertificates=true -Duser.language=en -Duser.country=US -XX:+UseG1GC -Dsun.rmi.dgc.server.gcInterval=2147483646 -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M"
good chance this is because of the recent xaero's update. I'll see what i can do. thanks
It's been awhile, so here's an update:
Since around June 23rd or so, I have maintained 8gb of allocated RAM and I have no longer had issues with this. I have not tested the other RAM limits since the report was made.
Something of note for the past:
Previously, using the f3 debug window as reference, there would be RAM usage anywhere between 70% to like 94% usage while at 4gb. However, the stuttering would occur even when the RAM usage was as low as 70%, and my CPU usage would peak temporarily while GPU usage would drop to 0%.