-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
oboe not releasing memory using oboe.drop #207
Comments
hi @leonidasthelab could you please provide some details on where the code is running, is it node or a browser, could you specific which version please. Thanks for raising the issue, will look into it. |
@Aigeec, the code is running clientside on IE 11, using latest oboe.js (v 2.1.5). Thanks! |
Sorry, you mentioned that didn't you, the heap check is running for chrome I think only at the moment. Is difficult enough to get a headless IE going in Travis. |
Any plan to support both IE 11 and Edge browsers for releasing memory? Really want to use this library...exactly what we are looking for! |
It should do that already, will see what the issue is. |
Hi @leonidasthelab, I can't recreate this issue. I have a sample array that is being returned from the source. When I call oboe.drop the nodes are dropped from the array as expected. Can you provide a more complete sample. Here is a JsFiddle where you can see that the final array has each element replaced with null: https://jsfiddle.net/014fr8ac/10/embedded/result,css,html,js |
Thanks for the help. Is there any importance in the fact that the json in your sample is an array versus what I am using, a nested object containing an array? example:
structure of overall json once all completed after streaming { |
I can't help but notice that your final structure is:
(you can quickly make an example repo to demonstrate if there's a real error here: https://my-json-server.typicode.com/ ) |
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!
The text was updated successfully, but these errors were encountered: