This has been going on for a week or so. Not really sure, I lose track of time. But when I'm at my base, my client slowly bloats in memory until it vastly exceeds what I have allocated java. Eventually it starts freezing intermittently (which I assume is when the garbage collector kicks in). Stuff that matches memory leaks I've experienced before. The problem is, I get this issue mainly when I'm at my base, but only when I'm on the ground level. mortenmkl lives near me and has a pretty complex base, so I considered it might be something there, or it could be mine, which has quite a large AE setup and some machines, with lots of conduits. If I travel down 30 blocks or so to my underground farm, I don't get a memory leak. My client can run for hours without problem, consuming pretty much the same amount of memory the whole time. So aside from destroying things piecemeal, does anyone have a good way of diagnosing what's causing it? I'm on the latest version of java (1.7.0_51 or whatever). My graphics drivers are up-to-date. I've tried it with and without texture packs (makes no difference). I've tried it with and without OpenGL (again, no difference). Any ideas? edit: I also tried this on my mac. And I get the same memory leak issue. scratch that, no memory leak on the mac
My idea would be to simply accept it. Modded MC allways has been leaking like mad. With so many mods, from good to bad programmers in it you just cant avoid it. There where times when using mystcaft portals leaked heavily. Times when Ender IO did it ... and so on ..
Unfortunately the client freezes make the game unplayable after 30 minutes or so. Since I may spend anywhere from 3-30 seconds in deep "not responding" land. Especially bad ones cause me to disconnect from the server altogether.
Add this -XX:+UseCMSCompactAtFullCollection -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+AggressiveOpts under: Don't expect anything big from it, it might improve the performance or might not. I run pretty good with it.
Me and Morten are trying to optimise the base as much as we can, as I was having the exact same issue when I was in the base for more than 30 minutes. We think the problem is mainly due to the steam turbine stuff from reactor/rotary craft (I get the same issue if I hang around inside your base for about as long @caithleen while your turbines are running) but with no easy alternative for producing 100k+ rf/t Mort isn't too happy at the prospect of having to take it down, though now it has a full set of condensers going into a fluid-void it seems to be somewhat better. Also, I think I'm gonna try setting up a computercraft controlled toggle to only run the turbine when our capacitor bank is running low, which might make a difference but we'll have to wait and see. Unfortunately we still don't know for definite that that is the root cause so perhaps an admin inspection is in order to see if anything else might be causing problems?
I prefer to do things with CC and openperipherals as I can fine tune it more, as well as being able to output details to my HUD if I can be bothered to set it up!
Would it be possible to shut it down for an hour, to see if that is the issue. As if it is we can replace the reactor with something else.
One thing thats really important when using reactorcraft is to make sure the steam is taken of care properly. I had one block missing in my construction yesterday.... 4,5k steam entities in my base, took the server to 12 tps and my client to 3 fps. After i fixed that, everythings runing smooth.
Thanks, Slind I'll try those settings. I've already begun moving my operation so I can begin building things piecemeal to see if I can isolate the issue.
You should also build stuff which causes client lag at the bedrock and have your other stuff at the surface, so you still load the chunk but you'r client does not see the stuff at the bedrock.
Yeah, well that is how I usually like to do things, but morten doesn't really bother to ask for my opinion before doing things... I didn't even know he was setting up the turbine, I just logged in the other day to find it already mostly set up!
The settings you suggested Slind were really helpful in keeping the memory profile nice and lean, but unfortunately it was still gradually leaking. But it gave me a lot more playable time before I needed to restart my client. I'm just going to move my base and build everything intensive at bedrock.
let us know if you need help with a building. we can copy and paste normal blocks but not machines, cables and these stuff.