diff options
author | jenkins4kodi <jenkins4kodi@users.noreply.github.com> | 2017-02-23 15:15:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-23 15:15:32 +0100 |
commit | 67442841b25a018879f5d9620ad255d689eba631 (patch) | |
tree | 190b8ec8072f0faeb9a8222409b34c3a82c8d35d | |
parent | 82eaae9dbabc9bc3bda1a7df7df73d72dc949ad3 (diff) | |
parent | 41414ac16a0a05b939e48a1e26b6dd898d470fda (diff) |
Merge pull request #11730 from wsnipex/mmap_treshold
-rw-r--r-- | tools/Linux/kodi.sh.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/Linux/kodi.sh.in b/tools/Linux/kodi.sh.in index 9fc75dd830..0a00a32034 100644 --- a/tools/Linux/kodi.sh.in +++ b/tools/Linux/kodi.sh.in @@ -32,6 +32,9 @@ USERDATA_DIR="${HOME}/.${bin_name}" # Workaround for high CPU load with nvidia GFX export __GL_YIELD=USLEEP +# Fix wasting RAM due to fragmentation +export MALLOC_MMAP_THRESHOLD_=131072 + # Check for some options used by this script while [ "$#" -gt "0" ] |