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

  • 4.5
  • 4.5
  • 4.5
  • 4.5
  • 4.5

4.5

45 ratings


More shows like Ruby Rogues

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

289 Listeners

The Ruby on Rails Podcast by Elise Shaffer

The Ruby on Rails Podcast

53 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

67 Listeners

Nerdland Podcast by Lieven Scheire

Nerdland Podcast

55 Listeners

Adventures in Angular by Charles M Wood

Adventures in Angular

15 Listeners

JavaScript Jabber by Charles M Wood

JavaScript Jabber

62 Listeners

Ruby Rogues by Charles M Wood

Ruby Rogues

21 Listeners

My Angular Story by Charles M Wood

My Angular Story

0 Listeners

My Ruby Story by Charles M Wood

My Ruby Story

0 Listeners

The Diary Of A CEO with Steven Bartlett by DOAC

The Diary Of A CEO with Steven Bartlett

8,459 Listeners

Remote Ruby by Chris Oliver, Andrew Mason

Remote Ruby

34 Listeners

Code with Jason by Jason Swett

Code with Jason

15 Listeners

Cautionary Tales with Tim Harford by Pushkin Industries

Cautionary Tales with Tim Harford

5,154 Listeners

The Rest Is History by Goalhanger

The Rest Is History

15,249 Listeners

The Ezra Klein Show by New York Times Opinion

The Ezra Klein Show

15,892 Listeners

The Rest Is Politics: Leading by Goalhanger

The Rest Is Politics: Leading

789 Listeners