-
Notifications
You must be signed in to change notification settings - Fork 135
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
I think we may have a memory leak #159
Comments
See http://pastebin.com/2hkJ8LcJ /Users/kwent/.rvm/gems/ruby-2.1.0/bundler/gems/neography-a4931670b7ff/lib/neography/rest/paths.rb String 16170 |
Interesting. The two lines that stand out are:
(17742 String objects in and
(16170 String objects in Any other concerns? How can we recreate a similar log file with object counts? That 's useful during for debugging. |
I guess this StackOverflow issue is related? |
Yeah i opened this issue few days ago and was hopping to receive help without success :( . |
What if we refactor all those classes into modules? That's my current plan I think... |
@maxdemarzi What would that fix? I think we should first identify what the exact problem is. What are all those String objects? |
I presume you've already seen this. sidekiq/sidekiq#1421 (comment) |
Yes. But even running on Ruby 2.0.0, we noticed memory leak. |
Latest dump => http://pastebin.com/VBPaV5mD So it looks like it may not be the Rest class at all, but something borked with the "Phase 2" functionality. |
Any update on this? |
Can we double check https://github.com/maxdemarzi/neography/blob/master/lib/neography/rest/node_paths.rb for a potential leak?
I'm getting reports of R14s on Heroku and the issue may be lots of "paths" being generated.
The text was updated successfully, but these errors were encountered: