mojira.dev
MC-242708

Moving through blocks in spectator mode causes a memory leak

When phasing through blocks in spectator mode, lag spikes will occur within moments and get progressively worse over time, eventually crashing the game.

Linked issues

Attachments

Comments 5

It turns out that this issue only occurs when phasing through blocks in spectator mode, and it is still possible to play Minecraft worlds even after experiencing this issue, so it's not quite as critical as I thought.

This has only happened to me so far in old (upgraded) worlds.

I have replicated this in both upgraded worlds and brand new worlds.

I can confirm. I was able to reproduce this issue

It is to do with allocation of RAM and 2GB isn’t enough. I noticed at 5GB it would probably be fine as the memory pool is cleared to 1.5GB after it reaches 5GB.

gaspoweredpick

boq

Confirmed

Very Important

Performance

memory-leak

1.18 Pre-release 8

1.18 Release Candidate 1

Retrieved