Skip to content
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

Memory usage is too high #267

Open
vraravam opened this issue Oct 2, 2015 · 3 comments
Open

Memory usage is too high #267

vraravam opened this issue Oct 2, 2015 · 3 comments

Comments

@vraravam
Copy link

vraravam commented Oct 2, 2015

I am using the derailed_benchmarks gem and found that metric_fu takes up 42.3984 MiB of memory (even rails only takes 17.6953 MiB in my setup)!
The command I ran to get the output was:
bundle exec derailed bundle:mem development

Could you please run this against a sample app, and prune some memory hotspots?

@bf4
Copy link
Member

bf4 commented Oct 2, 2015

would love to do it with some help :) Great job on using that lib! That said, is metric_fu in your gemfile? If so, just require: false and bundle binstub metric_fu ... I recommend not including it in your Gemfile

@vraravam
Copy link
Author

vraravam commented Oct 2, 2015

that worked like a charm! Could you please update the docs so that others can also benefit?
All I did was the require: false and run the metric_fu executable from the command line (without the binstub).
And thanks for replying so soon! 👍

@bf4
Copy link
Member

bf4 commented Oct 2, 2015

No problem. That likely worked without the binstub because you either used bundle exec, are using rvm, or have it installed externally..

I'd really appreciate the PR, and spread kinda thing right now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants