This all started when I tried to make a certain item from a certain mod and java crashed. I assumed it was a problem with the mod, so after searching for support, I completely reinstalled java, forge, minecraft, and all the mods. They said it wasn't a problem on their end. Sure enough, I'm able to get back on and work with that item just fine. For a while....
I've been trying to fix this for a few days now. It seems like I can play on my server for a while until something happens and all of java comes tumbling down. After that, it usually wont even let me start minecraft up for a while, crashing right after I click play. I'll mess with some things, change some java arguments, take out OptiFine, and then it'll work again for a little while, before it all crashes. I can scrape up just enough time to make some progress on my logistics pipes setup, but I spend more time trying to solve this than playing minecraft.
It's a crash from java, the likes I'm not at all experienced with, so I don't know where to start. I google search various terms in the crash report and find people talking about things like the java garbage dump process not being in later versions of java, or not enough RAM being allocated, or anything really. Nothing seems consistent about this crash.
It didn't really happen right after I did anything either. I have just added mods to the server, but nobody else on the server is having a problem. I did just start playing with OptiFine, but it still crashes without OptiFine. The nature of the problem would make it a huge pain to test with one mod at a time, because I basically would have to play with each single mod for about an hour to be sure the crash won't happen with it. I can say, I'm mostly certain the crash isn't happening with forge installed and no other mods. But when I put the mods in and join my server, the problem happens. But it's not the server, because then it crashes before it even finishes loading the mods. I just... I don't have any idea how to proceed.
I will post a couple crash reports that java printed to my .minecraft as "hs_err_pid7940.log" and "hs_err_pid4276.log" in the spoiler here. It's worth noting that every time the crash happens, it's not always the exact same crash report. Usually, it's similar, sometimes it's quite different. Usually the "problematic frame" is different. Any help would be great. I feel like I've tried everything. I just cant make sense of what the crash report is trying to say.
edit: forge version 10.13.4.1566 for 1.7.10