Skip to content

allocated memory issue #204

@netwire88

Description

@netwire88

I have the following in my Gemfile

ruby '2.7.5'
gem 'rails', '~> 6.1', '>= 6.1.4'
group :development do
  gem 'derailed_benchmarks', '~> 2.1', '>= 2.1.1'
end

However, when I run bundle exec derailed bundle:objects production, I see the following

allocated memory by gem
-----------------------------------
  43060426  dead_end-1.1.7

and when I run bundle exec gem dep -R
I see that dead_end is only used by derailed_benchmarks

Gem dead_end-3.1.0
  Used by
    derailed_benchmarks-2.1.1 (dead_end (>= 0))

I'm a bit confused why:

  1. the gem's showing up in production
  2. it seems to be creating huge memory footprint upon launching of app

Any thoughts?

I'm not sure if it's related to this issue action_mailbox/engine still loads even after not requiring it in application.rb where @andrehjr says it's derailed_benchmark's use of require "action_controller/railtie"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions