diff options
-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" ] |