Skip to content

Instantly share code, notes, and snippets.

@bogdanRada
Forked from juniorz/install.txt
Created July 1, 2016 07:41
Show Gist options
  • Save bogdanRada/3171f5a13fb08bcc7e0e7bfa02f92e86 to your computer and use it in GitHub Desktop.
Save bogdanRada/3171f5a13fb08bcc7e0e7bfa02f92e86 to your computer and use it in GitHub Desktop.
How to fix memory leak in capybara-webkit
webkit_server (capybara-webkit) leaks memory on the following environment:
* Mac OS X Mountain Lion (10.8.2)
* XQuartz 2.7.4
* Qt 4.8.3
How to fix:
1) Downgrade Qt to 4.7.4
brew unlink qt
cd `brew --prefix`
git checkout 83f742e15 /usr/local/Library/Formula/qt.rb
brew install --use-llvm --env=std qt
2) Reinstall capybara-webkit gem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment