Author: toad
Date: 2008-02-01 23:06:25 +0000 (Fri, 01 Feb 2008)
New Revision: 17466
Modified:
trunk/freenet/src/freenet/support/Serializer.java
Log:
Less aggressive size limit
Modified: trunk/freenet/src/freenet/support/Serializer.java
===================================================================
--- trunk/freenet/src/freenet/support/Serializer.java 2008-02-01 20:53:20 UTC
(rev 17465)
+++ trunk/freenet/src/freenet/support/Serializer.java 2008-02-01 23:06:25 UTC
(rev 17466)
@@ -42,7 +42,7 @@
public class Serializer {
public static final String VERSION = "$Id: Serializer.java,v 1.5
2005/09/15 18:16:04 amphibian Exp $";
- public static final int MAX_BITARRAY_SIZE = 128;
+ public static final int MAX_BITARRAY_SIZE = 2048*8;
public static List readListFromDataInputStream(Class elementType,
DataInputStream dis) throws IOException {
LinkedList ret = new LinkedList();