BuildCraft|Core

BuildCraft|Core

7M Downloads

Critical! Memory leak

Opened this issue ยท 26 comments

commented
commented

BC is now up to 7.1.11, update and try to reproduce.

commented

Updated. Problem still exists. :(

http://pastebin.com/PwvB7azv

commented

I doubt that's a memory leak. How much memory have you allocated for minecraft?

commented

@psxlover 2GB
java x64

commented

The problem arises if the approach to place with the mechanisms and pipes ... just can not say,client hangs and get this error

commented

@AEnterprise This is repeated for all, even the one allocated more than 4 GB of RAM

commented

this isn't a memory leak at all

[18:00:10] [Client thread/ERROR] [FML/]: There was a critical exception handling a packet on channel BC-CORE
java.lang.OutOfMemoryError: Java heap space

increase the ram (and with that heap size) allocated to MC and it should work, java is just running out of memory

commented

did you try increasing the permagen memory then? that could also trigger this error

commented

@AEnterprise PermGen not work on java 8

commented

You should post your fml.log.
Also make sure you are using a 64-bit Java.

commented

alright eighther java 8 is derping up it's heap size or there is a bug in the BC networking code where it tries to read read data from the message buffer that isn't there

commented

I rolled back to version 7.0.23, and this problem is not there, this is clearly a mistake versions 7.1. *

commented

Alright, I shall look into it.

commented

@AEnterprise permgen space was removed in java 8.

commented

@XFactHD i didn't know he was using java 8, doesn't matter anyways as i suspect there is something wrong with a gate sync package

commented

@AEnterprise no problem, just as an information because you thought that java had derped. ๐Ÿ˜Š

commented

Confirmed has to do with the bots. I noticed after taking a sample while the mod was present there is a process leak that takes about 40 mins to be really visible. Sorry I will attempt to give your greater details. I debug for other modders since I have no coding talent I like to make myself useful! On Another note anyone know where techbrews github is aka the journeymap mod? They have some very clear issues but I am not sure what medium to report them.

commented

I was having the same problem, created new world in single player and it say [shutting down internal server] a fetal error occurred and I minimal down the version and still happens

commented

Okay so this has a massive memory leak feel free to fix it. Let me know when its dealt with.

commented

When you are near with robot, server will begin sending packets, but client can`t read them. And so will continue till memory is run out => crash ^_^

commented

Might be worth attaching a profiler (such as JProfiler or others) and seeing, what's leaking the memory.

commented

@tambry I can't any more. I on the old version and a place where occurred leakage of memory is already forgotten

commented

@Myst1k Well, I was suggesting that for those, who are investigating or looking into fixing the memory leak.

commented

I can take a profile snapshot if it pleases the court :D It may also help if you added a build craft chunk profiler and figure out if it has something do with oil veins as well. I noticed that is when the game becomes unplayable. All a player does is stand in a oil chunk and the game almost just freezes. "Just some suggestions from a guy who knows nothing about coding but everything about investigation and paying attention." :P

commented

Re-open if anything new pops up.