I am trying to use Oboe.js to subscription, receive and parse server data. I have problem with growing string inside function handleProgress() in file oboe-browser.js. In an hour and a half, the string grows from 1.4Mb to 150Mb. In a day, application (tab in browser) crashed. I am trying to use oboe.drop(), but it didn't work for me. I attach example of code and snapshots of memory samplings.
let subscription = oboe({
url: 'SOME URL',
cached: false,
})
.start(() => {
// SOME COMMENTED CODE
})
.node('!.*', (status) => {
// SOME COMMENTED CODE
return oboe.drop();
}).on('fail', function (error) {
// SOME COMMENTED CODE
return oboe.drop();
});


Somebody know how fix this problem?
I am trying to use Oboe.js to subscription, receive and parse server data. I have problem with growing string inside function handleProgress() in file oboe-browser.js. In an hour and a half, the string grows from 1.4Mb to 150Mb. In a day, application (tab in browser) crashed. I am trying to use oboe.drop(), but it didn't work for me. I attach example of code and snapshots of memory samplings.
Somebody know how fix this problem?