Hahaha, nah i got a bit lucky. I reasoned it was a memory leak going by how much the ram consumption keep growing, after that i spend way too many hours looking up the stack call trace and the js heap snapshot of the game. The file RBR_Core popped up way too many times there was resource intensive work, so i guessed one of the functions in the file was being called to many times, i didn't expect to find the cause of the leak right there though, that was a lucky break. I realised it was a leaking function because it instantiated an object each time it was called and it never checked if the object already existed or not.Holy fucking shit, thanks a lot my man, but i gotta know; how did you come across this? were you going file by file looking for something that caught your eye or were you familiar with issues like this?
Also, how long have you been programming for? Like how much do you have to know for you to just read a function and say "Yea, this function on plugin #34 is causing the memory leak". Or does it just come as common sense as time goes on?
When it comes to programming im just an amateur, i'm getting into it just now (6 months or so).