Ruby Rogues

RR 411: What causes Ruby memory bloat? with Hongli Lai


Listen Later

Sponsors
  • Sentry use the code “devchat” for 2 months free on Sentry small plan
  • Triplebyte offers a $1000 signing bonus
  • RedisGreen
  • Cachefly
Panel
  • Charles Max Wood
  • Dave Kimura
  • Eric Berry
Joined by Special Guest: Hongli LaiSummaryEric Berry starts by sharing how Phusion and Phusion passenger changed his career and thanks Hongli Lai for his work. Hongli talks about where Phusion is now and shares what's new with passenger 6. The panel compares passenger and puma and Hongli explains why passenger is the better choice. The panel wonders about deployment strategies and Hongli shares what he has seen done with Passenger.Hongli discusses the article he wrote about memory bloat. He starts by explaining why he wrote the article. The panel discusses what causes memory bloat and how to identify memory bloat versus memory leaks. Hongli explains how the system memory allocator works and why people are using Jemalloc instead. The panel discusses Jemalloc and wonders why Ruby doesn’t adopt Jemalloc. Hongli shares his magic solution for solving the memory bloat problem and other tips for managing memory.Links
  • https://www.phusionpassenger.com/
  • https://github.com/phusion/passenger-docker
  • https://devchat.tv/ruby-rogues/rr-403-rails-needs-active-deployment-with-stefan-wintermeyer/  
  • https://blog.phusion.nl/2019/03/14/what-causes-ruby-memory-bloat/
  • https://www.joyfulbikeshedding.com/blog/2019-03-14-what-causes-ruby-memory-bloat.html
  • https://www.joyfulbikeshedding.com/blog/2019-03-29-the-status-of-ruby-memory-trimming-and-how-you-can-help-with-testing.html
  • https://en.wikipedia.org/wiki/Lars_Bak_(computer_programmer)
  • https://twitter.com/honglilai
  • https://www.facebook.com/RubyRogues
  • https://twitter.com/rubyrogues
PicksDave Kimura:
  • LEGO Marvel Super Heroes Avengers: Infinity War The Hulkbuster Smash-Up 76104 Building Kit (375 Piece)
  • Samsonite Explore Eco 2-Piece Softside Set
Hongli Lai: 
  • https://www.blinkist.com/
  • https://euruko2019.org/
Eric Berry:
  • Codefund.io
  • https://devchat.tv/ruby-rogues/
Charles Max Wood:
  • Open source sustainability podcast
  • https://podwrench.com/
  • Podcast assembly line
  • Podcast Laboratory
  • https://mybuild.techcommunity.microsoft.com/home#top-anchor
  • Oz con
  • https://elixirconf.com/2019
  • https://finconexpo.com/
  • https://podcastmovement.com/
  • https://go.2000books.com/
Special Guest: Hongli Lai .

Advertising Inquiries: https://redcircle.com/brands

Privacy & Opt-Out: https://redcircle.com/privacy

Become a supporter of this podcast: https://www.spreaker.com/podcast/ruby-rogues--6102073/support.
...more
View all episodesView all episodes
Download on the App Store

Ruby RoguesBy Charles M Wood

  • 3.4
  • 3.4
  • 3.4
  • 3.4
  • 3.4

3.4

21 ratings


More shows like Ruby Rogues

View all
The Bike Shed by thoughtbot

The Bike Shed

121 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

45 Listeners

The Freelancers' Show by Charles M Wood

The Freelancers' Show

23 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

33 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

236 Listeners

iPhreaks by Charles M Wood

iPhreaks

17 Listeners

React Native Radio by Jamon Holmgren, Robin Heinze, Mazen Chami

React Native Radio

68 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

15 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

62 Listeners

My Ruby Story by Charles M Wood

My Ruby Story

0 Listeners

REWORK by 37signals

REWORK

210 Listeners

Remote Ruby by Chris Oliver, Andrew Mason

Remote Ruby

34 Listeners

Code with Jason by Jason Swett

Code with Jason

14 Listeners