diff options
Diffstat (limited to 'net-p2p/vuze/files/vuze-5.3.0.0-cache-size.patch')
-rw-r--r-- | net-p2p/vuze/files/vuze-5.3.0.0-cache-size.patch | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/net-p2p/vuze/files/vuze-5.3.0.0-cache-size.patch b/net-p2p/vuze/files/vuze-5.3.0.0-cache-size.patch deleted file mode 100644 index 16f9ffa7374d..000000000000 --- a/net-p2p/vuze/files/vuze-5.3.0.0-cache-size.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/org/gudy/azureus2/core3/config/COConfigurationManager.java -+++ b/org/gudy/azureus2/core3/config/COConfigurationManager.java -@@ -52,7 +52,7 @@ COConfigurationManager - public static final int CONFIG_CACHE_SIZE_MAX_MB; - - static{ -- long max_mem_bytes = Runtime.getRuntime().maxMemory(); -+ long max_mem_bytes = Math.min (Runtime.getRuntime().maxMemory(), 64*1024*1024); - long mb_1 = 1*1024*1024; - long mb_32 = 32*mb_1; - int size = (int)(( max_mem_bytes - mb_32 )/mb_1); |