System.OutOfMemoryException error |
|  S Hanslope replied to Peter Bromberg at 15-Feb-08 04:19 |
Thank you for providing this article it was exactly what I was looking for. I tested it all on a development environment (.net v2, XP) and everything worked fine. I then tested it on a server environment, (,net v2, windows server 2003 enterprise) but it immediately failed with the following error:
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown. at SevenZip.Compression.LZ.BinTree.Create(UInt32 historySize, UInt32 keepAddBufferBefore, UInt32 matchMaxLen, UInt32 keepAddBufferAfter) at SevenZip.Compression.LZMA.Encoder.Create() at SevenZip.Compression.LZMA.Encoder.SetStreams(Stream inStream, Stream outStream, Int64 inSize, Int64 outSize) at SevenZip.Compression.LZMA.Encoder.Code(Stream inStream, Stream outStream, Int64 inSize, Int64 outSize, ICodeProgress progress) at SevenZip.Compression.LZMA.SevenZipHelper.Compress(Byte[] inputBytes) at CompressedCookies.CpCookiesLzma.Set(String cookieName, Object cookieValue, DateTime expirationDate)
The website hosted on this server continued to work correctly and all other aspx pages were still functioning correctly. Are you able to give any pointers as to what might have caused this?
|
|