We also appear to be having this problem under .net 2.0 when we serialize an
object that contains a (large) hashtable:
(InvalidOperationException)
Hashtable insert failed. Load factor too high.
- at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean
add)
- at System.Collections.Hashtable.set_Item(Object key, Object value)
- at
System.Runtime.Serialization.SerializationEventsCache.GetSerializationEventsForType(Type t)
- at
System.Runtime.Serialization.SerializationObjectManager.RegisterObject(Object
obj)
- at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
ObjectWriter objectWriter)
- at
System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object
obj, ISurrogateSelector surrogateSelector, StreamingContext context,
SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter,
ObjectWriter objectWriter)
- at
System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object
graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
- at
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
Any insight would be appreciated!
Thanks!
Mike
> Hi,
>
[quoted text clipped - 9 lines]
>
> Ranga.