DEV Community

Discussion on: Cables profiling returns: GC.compact & jemalloc

Collapse
 
ben profile image
Ben Halpern

Just found this wile researching this topic. Great post!

Collapse
 
ben profile image
Ben Halpern

Run GC.compact before fork #11121

What type of PR is this? (check all applicable)

  • [ ] Refactor
  • [ ] Feature
  • [ ] Bug Fix
  • [x] Optimization
  • [ ] Documentation Update

Description

gc.compact

Here are a few posts about GC.compact in Rails....

My thoughts here are that if tests pass, this is something we could deploy and observe. There may be more ways we could use this in specific cases.