diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index d2cd1d2818e3e98adf0809d85d8984e9077eaf9d..74695cc578fb3d63770e16f779edc10347297024 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -4380,7 +4380,7 @@ bool LLAppViewer::initCache()
 	// Init the texture cache
 	const S32 MB = 1024 * 1024;
 	const S64 MIN_CACHE_SIZE = 512 * MB;
-	const S64 MAX_CACHE_SIZE = 9984ll * MB;
+	const S64 MAX_CACHE_SIZE = 8192ll * MB;
 
 	S64 texture_cache_size = (S64)(gSavedSettings.getU32("TextureCacheSize")) * MB;
 	texture_cache_size = llclamp(texture_cache_size, MIN_CACHE_SIZE, MAX_CACHE_SIZE);
diff --git a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml
index 85bd6c704a2f588aea94edaaf81c454702aefd34..bf8187248fe84384fdcbf61f3edee092b2f1f763 100644
--- a/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml
+++ b/indra/newview/skins/default/xui/en/panel_preferences_advanced.xml
@@ -62,10 +62,10 @@
    height="15"
    increment="64"
    initial_value="1024"
-   label="Texture Cache size (1024 - 9984MB)"
+   label="Texture Cache size (1024 - 8192MB)"
    layout="topleft"
    left="20"
-   max_val="9984"
+   max_val="8192"
    min_val="1024"
    top_pad="10"
    name="texture_cache_size"