You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be a memory leak problem on tuiter's REST API methods.
example code to reproduce the issue:
varcnt=-1;makeRequest()functionmakeRequest(){// 1. perform a request to the tuiter API// 2. re-attempt after a short delay// 3. log rss memory usage every 50 requestscnt++tu.showUser({screen_name:'jack'},function(err,data){if(err)console.log('error',err,data)if(cnt%50==0){// display rss memory usageconsole.log(process.memoryUsage().rss)}vart=setTimeout(function(){// re-run the request after a short delaymakeRequest()},50)t=nulldata=nullerr=null})}
The log will show that the memory usage is constantly increasing. Am I doing something wrong?
There seems to be a memory leak problem on tuiter's REST API methods.
example code to reproduce the issue:
The log will show that the memory usage is constantly increasing. Am I doing something wrong?
Could this be related to ladjs/superagent#152 or to ladjs/superagent#193
Any known workaround or fix ?
The text was updated successfully, but these errors were encountered: