mojira.dev
MC-84842

SMP: RCON Runnable References

I use a lot of external scripts with RCON. Apparently, there is a boolean set in the RCON runnable that is always true. Because it is always true, these runnables are never removed, even when the related threads have died.

Apparently, these instances very slowly build up.

Plumbr Analysis from 15w31c:

The memory leak detected is caused by a programming error.
The following information indicates the location of the leak in the source code
At the time the leak was detected, 415 objects existed of class
    mp
These objects had been created at
    mq.run():67
and were being held
        in value of java.util.HashMap$Node
  in table of java.util.HashMap
    in m of mq
      in target of java.lang.Thread

Comments 2

Is this still a concern in the current Minecraft Snapshot 15w44b or later? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases.

Ticket resolved as incomplete, because no answer in a reasonable amount of time (1+ year), if it still happens, please update the ticket.

Anthony Martin

(Unassigned)

Unconfirmed

Minecraft 15w31c

Retrieved