Flying over 2000+ blocks, memory usage climbs until it cycles between 98% and 100%, with bad lag during memory recovery. Didn't see this in < 1.7.3 (but may not have triggered the effect). Seems to be an issue with chunk memory management.
Comments 12
Yes is does occur with 1.7.4. Also these might be connected https://mojang.atlassian.net/browse/MC-42043 and I'm running Minecraft 1.7.4 on Linux and Hawk J is running Minecraft 1.7.4 on a Mac. It does seem to work with 1.7.2 so it must be something that changed between these versions of minecraft. Here is a video that Bdouble0 did on Minecraft 1.7.3 that shows the game lag. http://www.youtube.com/watch?v=hyao0vW3ljQ&feature=c4-overview&list=UUlu2e7S8atp6tG2galK9hgg
Yes, sorry about misinformation: the start up tells me it's 1.7.4, I hadn't noticed the skip through 1.7.3 with the version update.
Since I had spotted that somehow I was running Java 32 bit, I later changed to Java 64 bit, and the memory pool increased to nearly a GB. It's hard now to see the effect (because there's twice the memory pool), but I do feel that I'm NOT seeing the ramp up of memory use. But - hard to tell...
Yes, makes sense. I tried to recreate the effect while using 64 bit Java and the increased memory pool, and no "terminal" lag. I do see problems with rendering, though, swathes of missing ground looking through to the underlying lava, caverns, etc., that take a while to fill in - I'll put this down to using maximum distance and inadequate CPU. But note that I have no problem at all rendering Games such as Skyrim at ultra high resolution and high frame rates. The fact that the lava fields, etc., under the ground are rendered at all is puzzling. But that's off topic, and this is probably the wrong place to bring that up.
Nik
Nik, for the other issue you are describing, you may want to refer to MC-129. Also, I find it is difficult to compare rendering of other games (like Skyrim) with this one. Many of these other games use DirectX, whereas Minecraft uses OpenGL. There is much more support for DX, especially in terms of hardware. Currently Minecraft only requires OpenGL version ~1.2, which is outdated. In the planned future, Mojang plans to increase this to version 2.1, which should improve rendering performance (though unfortunately not permitting users with older hardware to use this).
I have been noticing GC times increasing as the heap-size expands on my vanilla 1.7.4 SMP server. Once the heap-size has expanded to about 80% of the max significant lag is noticed. This only started happening since updating to 1.7.4 from 1.7.2. We need to restart the MC service every few days or the game becomes unplayable. This lag is accompanied with "Can't keep up!" messages in the server log. We are running a 64-bit JDK 7 with the CMS GC and 2.5GB allowed for heap.
We have been experimenting with lowering the view-distance. We have slowly lowered it from 15 with each service restart. My last test was was with a view-distance of 12 and the symptoms started happening after an uptime of about 100k seconds. We have now lowered the view-distance to 8 to see if it makes a difference.
Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
This ticket is incomplete without the requested information, no response has been received within a reasonable time and we are assuming the issue has been resolved. If you are still experiencing this issue, we can reopen it at your request.
Please review the guidelines before reporting issues.
Clarification: memory usage as reported by Minecraft F3, allocated memory was approx. 500MB