Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / September 2006

Tip: Looking for answers? Try searching our database.

.Net 2.0 Hashtable Insert Failed.  Load factor too high

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Ranga - 29 Sep 2006 02:49 GMT
Hi,

I am currently getting System.InvalidOperationException: Hashtable insert
failed. Load factor too high error.  I noticed that this only seems to
happen, when we are trying to do run a Stress Tool with a few users(5-10).    
I know this is a known issue in .net 1.1, but there seems to be no report of
this in .net 2.0.  

Has anyone experienced this issue before? Many thanks for the reply.

Regards

Ranga.
Michael Kuntscher - 29 Sep 2006 16:26 GMT
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.

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.