Created
August 7, 2019 14:53
-
-
Save jwkicklighter/824caff91139b78b48c660f8ad145242 to your computer and use it in GitHub Desktop.
Verify that jemalloc is enabled for Ruby
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /bin/bash | |
| # | |
| # If this prints anything to the console, jemalloc is enabled. | |
| # Otherwise the command will just exit with no output. | |
| MALLOC_CONF=stats_print:true ruby -e "exit" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment