473,404 Members | 2,179 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

System.OutofMemoryException - Session

Hi

I have an application running on a cluster that's constantly throwing an OutOfMemoryException with the following message
"Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is 'StateServer' or 'SQLServer'.

In this instance, session state mode is set to 'StateServer' and the only object being stored in the session is a dataset (which is serializable)..

Anyone have any ideas

Thanks!
Nov 18 '05 #1
2 2789
for starters, what does your dataset contain?
any funky stuff in the dataset or just basic types?

i'm puzzled that an outofmemoryexception would contain a serialization
string

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Fletch" <an*******@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...
Hi,

I have an application running on a cluster that's constantly throwing an OutOfMemoryException with the following message: "Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is
'StateServer' or 'SQLServer'."
In this instance, session state mode is set to 'StateServer' and the only object being stored in the session is a dataset (which is serializable)..
Anyone have any ideas?

Thanks!

Nov 18 '05 #2
for starters, what does your dataset contain?
any funky stuff in the dataset or just basic types?

i'm puzzled that an outofmemoryexception would contain a serialization
string

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/27cok
"Fletch" <an*******@discussions.microsoft.com> wrote in message
news:0F**********************************@microsof t.com...
Hi,

I have an application running on a cluster that's constantly throwing an OutOfMemoryException with the following message: "Unable to serialize the session state. Please note that non-serializable objects or MarshalByRef objects are not permitted when session state mode is
'StateServer' or 'SQLServer'."
In this instance, session state mode is set to 'StateServer' and the only object being stored in the session is a dataset (which is serializable)..
Anyone have any ideas?

Thanks!

Nov 18 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Per Bergland | last post by:
After many woes, I finally managed to get a stack dump of my System Service (written in C#) that insists on crashing when launched at system boot time (see below on how to get this dump - I...
1
by: jason | last post by:
I have exhausted all resources, so perhaps someone out there can help. I have a 8MB string (that represents an html document) and I am trying to run a couple of regular expressions on this...
1
by: Ripul Handa | last post by:
Hi We are running IIS 5.0 cluster with cisco local director. We are running a website on 2 webservers and I have been observing that from past few days we have are getting this error message of...
1
by: Fletch | last post by:
Hi I have an application running on a cluster that's constantly throwing an OutOfMemoryException with the following message "Unable to serialize the session state. Please note that...
1
by: SMG - Idealake | last post by:
Hi all, I am getting following error on my error, what could be the reason? Exception of type System.OutOfMemoryException was thrown. Description: An unhandled exception occurred during the...
4
by: Ed Chiu | last post by:
Hi, I migrated our company's ASP.Net web appplication from a regular Pentium 4 machine to a multiple xeon processors machine. The web application was acceptable in speed on the old machine, I...
1
by: Ashkan Daie | last post by:
Hi All, When trying to install a performance counter via InstallUtil I get the following exception: Creating performance counter category Enterprise Library Caching. An exception occurred...
6
by: chad | last post by:
assuming I have 2GB memory. And 1.5GB available. dim c1(,) as byte redim c1(1000, 1024*1024) throws system.outofmemoryexception. I'm like... huh? Initially I thought a lot of space is taken...
8
by: =?Utf-8?B?UGlnZ3k=?= | last post by:
Hi to all, I am getting this System.OutOfMemoryException calling the Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(<stream>,<Obj>) method. The type of <streamis...
3
by: =?Utf-8?B?aml0ZW4=?= | last post by:
Hi, We are getting System.OutOfMemoryException exception in an asp.net application hosted on IIS. The problem is popping up randomly once every few days.The web server needs to be restarted as...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.