Skip to content

oboe not releasing memory using oboe.drop #207

Description

@leonidasthelab

First, thank you so much for working on this awesome library!

Exactly what I have been looking for, but am unable to use it due to the memory issues I am seeing...I hope this can be fixed!

Am working on an angular app and using oboe.js to consume data that is sent in json streams by the server. Read through documentation and following to a T, but am not seeing that memory is being freed, leading to internet explorer 11 (no choice in browser) crashing with out of memory error.

I am able to grab the data streams and process the data perfectly, but just need oboejs to release the memory.

I have the latest oboe.js (v 2.1.5).

//sample code
const config = { 'url': "serverurlhere"}; // and other configs such as headers, withCredentials
oboeService = oboe(config);

oboeService.node('Chunk.*', function (node) {
// send in node to be processed
return oboe.drop
});

Even if I comment out all the processing code and use oboejs in the most basic form and just have 'return oboe.drop' in the .node, I still see the memory climbing up until the browser crashes. I do not understand why this happening...

Any help is much appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions