I'd be reasonably sure that there isn't a memory leak, as removeAllCached has been around for 5+ years and I'd have thought this would come up already if there was a problem.
I imagine most likely you still have a reference to some part of the module that you loaded kicking around? Potentially typing dump() in the LHS might give you some clues. If there is a reference, even though the modules list is empty you'd still have the data kicking around.
© Espruino, powered by microcosm.
Report a problem