View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001478 | Industrial-Craft² | tools / electric items | public | 2014-11-22 15:46 | 2014-12-18 17:59 |
Reporter | Hironimo | Assigned To | Player | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Windows | OS | Windows | OS Version | 8.1 x64 |
Product Version | Builds for MC 1.7.10 | ||||
Summary | 0001478: Memory leak with wind-generator rotor | ||||
Description | I am observing a memory leak whenever the kinetic wind generator rotor is put in a kinetic wind generator and the rotor is turning. It is up to a few megabyte per second and thus fills up ram steadily until all ram is used up and minecraft becomes unresponsive (i had my minecraft instance use up more than 12 gigabyte because of this!). I first tried to remove all other mods but it did not help. then I went back to an older version of ic2 (build 545) but the issue persistet. As soon as I remove the rotor the issue stops. I am using minecraft 1.7.10, minecraft forge 10.13.2.1232 and ic2 2-2.2.653 | ||||
Steps To Reproduce | - download minecraft, get version 1.7.10 started - isnteall minecraft forge 10.13.2.1232 (however older versions compatible with ic2 make no difference) - add ic2 2-2.2.653 to the mods folder - Start a new world - set a kinetic wind generator - fill a rotor in it and make sure it rotates - watch as the memory utilisation in the task manager increases endlessly (memory reported in minecraft itself stays normal) | ||||
Tags | No tags attached. | ||||
Minecraft Version | |||||
|
SP, MP client or dedicated server? I need the output of /sampler memory from the beginning, during the leak and after some significant leaking. If it's happening on the MP client use /csampler memory instead. The sampler mod download is inside the extra tweaks spoiler at http://forum.industrial-craft.net/index.php?page=Thread&threadID=10820 |
|
I experienced this both in SP and MP (MP connecting to my own server). I installed fastcraft (and it is listed among the mods) but the commands /sampler or /csampler are not found (at least when I tried in SP). What might I be doing wrong? However since I managed to reproduce this issue without other mods (just forge and ic2) i think it should be easy for you to check on it too. |
|
You don't want Fastcraft, you want this: http://files.player.to/sampler-1.12.jar (for those commands) |
|
Yes sampler is not the 1st link in that thread, but slightly hidden inside the unfoldable section at the bottom. I obviously don't see such a memory leak so more input of you is required. |
|
I have tried version 657 and the problem persists. The wind mills with their rotors build the memory usage higher and higher and, after they are broken, the memory usage stays stuck at a high level. Once the wind generators are used again, the memory usage continues to build. It is reproducible. To be more specific, Minecraft doesn't say the memory is going up significantly, but the Java Platform SE Binary in the task manager shows a continuously growing usage that gets very large. It corrupted my world save when I played until it filled all the way up before. I updated java and everything to try to alleviate the problem. This is in single player |
|
I have samples I just uploaded. All three were taken on single player. The first two I used "csampler" while the third I used "sampler" in the commands. I hope this helps. I included two screenshots showing a before and after. It happens each and every time. |
|
|
|
|
|
|
|
|
|
|
|
I've actually referred to running the command "/csampler memory" (or /sampler for dedicated server). It'll display much more detailed information about Java's memory usage, including some mc doesn't show by itself. |
|
I just uploaded screenshots of the output from /csampler memory. I could have kept going, but I think the problem was clear by the 4GB mark. ....aaaand I just noticed the screenshots screwed up in the last 3 of those. I will do it again. The second trial that shows the csampler memory in all 4 screenshots has been uploaded. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Thanks, I found it. The new sampler 1.14 version shows the display list count in "/csampler memory" as well, which was the one leaking. |
|
Excellent. I was glad to help. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-11-22 15:46 | Hironimo | New Issue | |
2014-12-12 01:42 | Player | Note Added: 0003595 | |
2014-12-12 17:50 | Hironimo | Note Added: 0003599 | |
2014-12-12 17:50 | Hironimo | Note Edited: 0003599 | |
2014-12-12 19:08 | Chocohead | Note Added: 0003600 | |
2014-12-15 08:19 | Player | Note Added: 0003608 | |
2014-12-16 17:28 | Joe | Note Added: 0003613 | |
2014-12-16 22:59 | Joe | Note Edited: 0003613 | |
2014-12-16 23:05 | Joe | Note Added: 0003615 | |
2014-12-16 23:08 | Joe | File Added: mysample.nps | |
2014-12-16 23:14 | Joe | File Added: Sample start.png | |
2014-12-16 23:14 | Joe | File Added: Sample end.png | |
2014-12-16 23:15 | Joe | File Added: mysecondsample.nps | |
2014-12-16 23:20 | Joe | Note Edited: 0003615 | |
2014-12-16 23:25 | Joe | File Added: mythirdsample.nps | |
2014-12-16 23:26 | Joe | Note Edited: 0003615 | |
2014-12-17 05:13 | Player | Note Added: 0003618 | |
2014-12-17 17:38 | Joe | Note Added: 0003620 | |
2014-12-17 17:39 | Joe | File Added: csampler memory near beginning.png | |
2014-12-17 17:39 | Joe | File Added: csampler memory 2GB.png | |
2014-12-17 17:39 | Joe | File Added: csampler memory 3GB.png | |
2014-12-17 17:39 | Joe | File Added: csampler memory 4GB.png | |
2014-12-17 17:43 | Joe | Note Edited: 0003620 | |
2014-12-17 17:52 | Joe | File Added: csampler beginning.png | |
2014-12-17 17:52 | Joe | File Added: csampler memory 2 GB Second Trial.png | |
2014-12-17 17:53 | Joe | File Added: csampler memory 3GB Second Trial.png | |
2014-12-17 17:53 | Joe | File Added: csampler memory 4GB Second Trial.png | |
2014-12-17 17:55 | Joe | Note Edited: 0003620 | |
2014-12-18 06:45 | Player | Note Added: 0003622 | |
2014-12-18 06:45 | Player | Status | new => resolved |
2014-12-18 06:45 | Player | Resolution | open => fixed |
2014-12-18 06:45 | Player | Assigned To | => Player |
2014-12-18 17:59 | Joe | Note Added: 0003626 |