Created
September 20, 2018 08:49
-
-
Save holmeshe/38734773cfce49e01d8ec33302afa70a to your computer and use it in GitHub Desktop.
This file contains 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
static size_t mem_limit = 0; | |
... | |
settings.maxbytes = 64 * 1024 * 1024; /* default is 64MB */ | |
... | |
case 'm': | |
settings.maxbytes = ((size_t)atoi(optarg)) * 1024 * 1024; | |
break; | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment