-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
async function test()
{
const JSONPatcherProxy = (await import("jsonpatcherproxy")).JSONPatcherProxy
let gS = {
uno: {
},
}
let jsonPatcherProxy = new JSONPatcherProxy(gS)
let objc = jsonPatcherProxy.observe(true);
setInterval(() => {
let generate = jsonPatcherProxy.generate()
console.log("Generate", generate.length)
},500)
setInterval(() => {
for (let i = 0; i < 1000; i++)
objc.uno = { test: "test" }
},1)
}
test()
This library has a huge memory leak. Just run the above program and see memory usage increase until node is killed.
Metadata
Metadata
Assignees
Labels
No labels