So I recently built Tango Tek's iron titan in one of my singleplayer survival worlds, if you don't know what an iron titan is, it's basically a huge iron golem farm that you put in your spawn chunks and it gets you a crazy amount of iron. Anyways, I built it and the build requires a dispenser to throw an item through a nether portal every 8 seconds, it is a vital part of the build and there's no way around that. After I built it, I noticed that every 8 seconds when the item would go through that portal I would get lag, for example mobs would freeze, blocks would reappear when broken, chests would delay opening, that type of stuff.
I know that forge is the problem with it because I had played in that same world without forge and there was no lag. I tried just using optifine without forge and it didn't lag. I tried using forge with optifine and it lagged. I tried using forge and having all my mods, and it lagged. I also played in that world without any mods in the mods folder but still using the forge profile and it lagged.
If you need PC specs:
My PC is a 64-bit
Running the latest version of Windows 10
Ram - 16GB
CPU - Intel i7-4720HQ
GPU - NVIDIA GeForce GTX 960M
And my JMV arguments (cuz i changed them) are
-Xmx6G
I use that (or -Xmx8G) on all of my profiles and I've had no problems until now.
Does anyone know of a solution?