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

binding_of_caller uses a lot of memory #40

Closed
apoorvparijat opened this issue Dec 27, 2013 · 2 comments
Closed

binding_of_caller uses a lot of memory #40

apoorvparijat opened this issue Dec 27, 2013 · 2 comments

Comments

@apoorvparijat
Copy link

I'm using better_errors and binding_of_caller in a Rails app with activeadmin.

It works fine when there is any error in Rails controller. But if the controller belongs to activeadmin part of the code, I can see the memory keeps going up and the page hangs. Memory always seems to go up to 1.5gb and above.

I'm using Rails 4.0.

@apoorvparijat
Copy link
Author

Problem was with better_errors using up a lot of memory due to arbre gem. Switched to arbre's master branch and that fixed the issue.

@yuvalkarmi
Copy link

Fixed it for me, too.
Working with Rails 4, this is what I have in my Gemfile:
gem 'arbre', github: 'gregbell/arbre' gem 'activeadmin', github: 'gregbell/active_admin'

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