activeadmin: ActiveAdmin eats all my memory and freeze the computer

  1. Install of AA 2.0.0 on rails 5.1.6.1
  2. Download production DB
  3. Generate rails generate active_admin:resource for resouce with 152559 records
  4. Try to open it in browser
  5. I can see ruby2.5 process eats 4.8GiB in SystemMonitor before it stop responding
  6. Hard reset

I have 7.7 GiB RAM and 7.9GiB Swap

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 16 (9 by maintainers)

Most upvoted comments

@nleo mentioned this

Generate rails generate active_admin:resource for resouce with 152559 records

in initializer we have this

 # By default the index screen includes a "Filters" sidebar on the right
  # hand side with a filter for each attribute of the registered model.
  # You can enable or disable them for all resources here.
  #
  # config.filters = true

try to uncomment and set it to false

@javierjulio however https://activeadmin.info/1-general-configuration.html is not covering this case.