392c459
--- org/gudy/azureus2/core3/config/COConfigurationManager.java.~1.34.~	2006-01-19 21:27:18.000000000 -0500
392c459
+++ org/gudy/azureus2/core3/config/COConfigurationManager.java	2006-02-09 00:01:46.000000000 -0500
cc5eeb0
@@ -39,7 +39,7 @@
392c459
 	public static final int CONFIG_CACHE_SIZE_MAX_MB;
392c459
 	
392c459
 	static{
392c459
-		long max_mem_bytes 	= Runtime.getRuntime().maxMemory();
392c459
+	    long max_mem_bytes 	= Math.min (Runtime.getRuntime().maxMemory(), 64*1024*1024);
392c459
 	    long mb_1			= 1*1024*1024;
392c459
 	    long mb_32			= 32*mb_1;
392c459
 	    CONFIG_CACHE_SIZE_MAX_MB = (int)(( max_mem_bytes - mb_32 )/mb_1);