PeterSteph
December 18th, 2003, 05:11 AM
Hi all
I try to serialize an ArrayList containing a lot of simple objects to a file. When the ArrayList has 20.000 elements the serialization works (but is VERY slow) and I can deserialize fast and without problems. When the ArrayList has 50.000 elements or more I get a System.StackOverflowException.
I use Microsoft Visual C#.NET with .NET Framework 1.0 version 1.0.3705
Any ideas?
Kind regards
Peter
I try to serialize an ArrayList containing a lot of simple objects to a file. When the ArrayList has 20.000 elements the serialization works (but is VERY slow) and I can deserialize fast and without problems. When the ArrayList has 50.000 elements or more I get a System.StackOverflowException.
I use Microsoft Visual C#.NET with .NET Framework 1.0 version 1.0.3705
Any ideas?
Kind regards
Peter