InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Error: System.OutOfMemoryException Expand / Collapse
Author
Message
Posted 17/05/2005 14:47:21
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 15/11/2005 12:15:17
Posts: 65, Visits: 82
We received the following error message after running the forums on an active development server hosted externally for approximately one week.

The application encountered an unexpected problem.
Unexpected Problem Occurred!

This error has been logged. If this problem persists please contact the web master.

Detailed error information follows:

Error 'Exception of type System.OutOfMemoryException was thrown.' while generating exception string.


We contacted our hosting company, and they resolved the issue with the following response:

We have reset your worker process. This occurs when your application has a memory leak in it.




Kind regards,

Tye Odle
IT Consultant
Assist Technology, Inc.

Post #6691
Posted 23/05/2005 10:18:15
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 15/11/2005 12:15:17
Posts: 65, Visits: 82
This same problem has happened about four times now. Every few days, with minimal traffic (about 10 intermitent users).


The following information about the error was automatically captured:

• an email was sent to: soulthorn@venaedivinitus.com

Detailed error information follows:

Date and Time: 5/23/2005 12:06:30 PM
...
Remote User: Soulthorn@VenaeDivinitus.com
Remote Address: 24.9.143.190
Remote Host: 24.9.143.190
URL: http://www.venaedivinitus.com/Default.aspx

NET Runtime version: 1.1.4322.2032
Application Domain: /LM/W3SVC/359/Root-1-127612872824052500

Assembly Version BuildDate
-------- ------- ---------
mscorlib.dll 1.0.5000.0 7/23/2004 3:37:41 PM
system.web.dll 1.0.5000.0 5/17/2005 9:01:06 PM
system.dll 1.0.5000.0 5/17/2005 9:01:07 PM
system.xml.dll 1.0.5000.0 5/17/2005 9:01:07 PM
InstantASP.Common.Configuration.DLL 1.0.1947.26332 5/1/2005 3:37:44 PM
InstantASP.Common.Data.DLL 1.0.1947.26333 5/1/2005 3:37:46 PM
InstantASP.Common.DLL 1.0.1947.26335 5/1/2005 3:37:50 PM
InstantASP.Common.UI.DLL 1.0.1947.26341 5/1/2005 3:38:02 PM
InstantASP.InstantForum.Data.DLL 4.0.0.0 5/17/2005 10:11:00 PM
InstantASP.InstantForum.DLL 4.0.0.0 5/17/2005 10:11:00 PM
InstantASP.InstantForum.UI.DLL 4.0.0.0 5/17/2005 10:11:00 PM
InstantForum.DLL 4.0.0.0 5/17/2005 10:11:01 PM
RadSpell.DLL 1.0.0.0 5/17/2005 10:11:01 PM
system.web.regularexpressions.dll 1.0.5000.0 5/17/2005 9:01:06 PM
microsoft.visualbasic.dll 7.0.5000.0 5/17/2005 9:01:06 PM
system.web.services.dll 1.0.5000.0 5/17/2005 9:01:06 PM
system.web.mobile.dll 1.0.5000.0 5/17/2005 9:01:08 PM
system.data.dll 1.0.5000.0 5/17/2005 9:01:07 PM
system.enterpriseservices.dll 1.0.5000.0 5/17/2005 9:01:06 PM
system.drawing.dll 1.0.5000.0 5/17/2005 9:01:07 PM
system.data.oracleclient.dll 1.0.5000.0 5/17/2005 9:01:07 PM

Exception Type: System.OutOfMemoryException
Exception Message: Exception of type System.OutOfMemoryException was thrown.
Exception Source:
Exception Target Site: Object reference not set to an instance of an object.

---- Stack Trace ----


---- Collections ----

Cookies

IF_LastVisit 5%2f23%2f2005+3%3a07%3a51+AM
IF_InstantASP_PanelBar_Collaspseda__ctl1__ctl0_ctlAdminNavBarManageIFCode
ASP.NET_SessionId eoh33fba4eakujjcmdi2mzqc
IF_ForumsRead26 26%7c5%2f23%2f2005+2%3a33%3a28+AM
IF_TopicsRead10 10%7c5%2f23%2f2005+2%3a33%3a30+AM
IF_TopicsRead22 22%7c5%2f23%2f2005+2%3a33%3a38+AM
IF_ForumsRead1 1%7c5%2f23%2f2005+2%3a33%3a46+AM
IF_TopicsRead37 37%7c5%2f23%2f2005+2%3a33%3a48+AM
IF_ForumsRead18 18%7c5%2f23%2f2005+3%3a07%3a55+AM
IF_TopicsRead58 58%7c5%2f23%2f2005+3%3a07%3a57+AM
IF_ForumsRead2 2%7c5%2f23%2f2005+3%3a09%3a42+AM
IF_TopicsRead55 55%7c5%2f23%2f2005+3%3a10%3a16+AM
InstantASP 54CE1C7E348AFF9D4F14A220AC2B72E0CF248707D683803569CC3C3949
20013F7A6DF3187EA2A71069AE8A1DF7575F7FAC9304BA0FC4526ED305C309B3C9B5
0B10E29AA211692E74F3DFBD759C8126714D6E92CAB94193D4854F036FD74DE733E2
29C947C3BD833835942D54273901592018
233E0A4F8A23D46596F74A091AD2
IASP_IsActive True

ServerVariables

APPL_MD_PATH /LM/W3SVC/359/Root
...
AUTH_TYPE InstantASP
AUTH_USER Soulthorn@VenaeDivinitus.com
REMOTE_USER Soulthorn@VenaeDivinitus.com
CONTENT_LENGTH 0
GATEWAY_INTERFACE CGI/1.1
HTTPS off
INSTANCE_ID 359
INSTANCE_META_PATH /LM/W3SVC/359
LOCAL_ADDR 216.235.153.12
PATH_INFO /Default.aspx
...
REMOTE_ADDR 24.9.143.190
REMOTE_HOST 24.9.143.190
REMOTE_PORT 63006
REQUEST_METHOD GET
SCRIPT_NAME /Default.aspx
SERVER_NAME www.venaedivinitus.com
SERVER_PORT 80
SERVER_PORT_SECURE 0
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE Microsoft-IIS/6.0
URL /Default.aspx
HTTP_CONNECTION keep-alive
HTTP_KEEP_ALIVE 300
HTTP_ACCEPT text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
HTTP_ACCEPT_CH***T ISO-8859-1,utf-8;q=0.7,*;q=0.7
HTTP_ACCEPT_ENCODING gzip,deflate
HTTP_ACCEPT_LANGUAGE en-us,en;q=0.5
HTTP_COOKIE IF_LastVisit=5%2f23%2f2005+3%3a07%3a51+AM; IF_InstantASP_PanelBar_Collaspsed=a__ctl1__ctl0_ctlAdminNavBarManageIFCode; ASP.NET_SessionId=eoh33fba4eakujjcmdi2mzqc; IF_ForumsRead26=26%7c5%2f23%2f2005+2%3a33%3a28+AM; IF_TopicsRead10=10%7c5%2f23%2f2005+2%3a33%3a30+AM; IF_TopicsRead22=22%7c5%2f23%2f2005+2%3a33%3a38+AM; IF_ForumsRead1=1%7c5%2f23%2f2005+2%3a33%3a46+AM; IF_TopicsRead37=37%7c5%2f23%2f2005+2%3a33%3a48+AM; IF_ForumsRead18=18%7c5%2f23%2f2005+3%3a07%3a55+AM; IF_TopicsRead58=58%7c5%2f23%2f2005+3%3a07%3a57+AM; IF_ForumsRead2=2%7c5%2f23%2f2005+3%3a09%3a42+AM; IF_TopicsRead55=55%7c5%2f23%2f2005+3%3a10%3a16+AM; InstantASP=54CE1C7E348AFF9D4F14A220AC2B72E0CF248707D683803569C
C3C394920013F7A6DF3187EA2A71069AE8A1DF7575F7FAC9304BA0FC4526E
D305C309B3C9B50B10E29AA211692E74F3DFBD759C8126714D6E92CAB94193
D4854F036FD74DE733E229C947C3BD833835942D54273901592018233E0A4F
8A23D46596F74A091AD2; IASP_IsActive=True
HTTP_HOST www.venaedivinitus.com
HTTP_REFERER http://www.venaedivinitus.com/UserInfo7.aspx
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0




Kind regards,

Tye Odle
IT Consultant
Assist Technology, Inc.

Post #6801
Posted 23/05/2005 20:12:56
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 14/10/2005 18:52:24
Posts: 93, Visits: 173
Were you doing something when the error comes up? for example, sending out emails?
Post #6823
Posted 24/05/2005 09:55:28
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 15/11/2005 12:15:17
Posts: 65, Visits: 82
Nothing administratively. In fact, sometimes there haven't even been posts made, just browsing.



Kind regards,

Tye Odle
IT Consultant
Assist Technology, Inc.

Post #6844
Posted 24/05/2005 10:31:41


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693, Visits: 2,418
I'm not going to say it isn't InstantForum causing your memory problem, because I don't know and it could be...  but just wanted to throw out an experience that I once was having...

I was receiving this exception often, with a website of mine...  We came to find out that another persons web application on the hosted "shared" server was sucking memory like crazy...  Once this was resolved it was good to go.

I realize this really has little to do with your situation, but this topic just brought back those memories...


..:: Bare ::..
http://www.livingformetal.com
Post #6846
Posted 24/05/2005 12:05:32
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: 14/10/2006 01:27:14
Posts: 276, Visits: 3,858
While I certainly don't claim to be an expert in IIS, I must say that Bare may be pretty close with his story.  I'm assuming that you are on a shared server since your hosting company had to do the reset.  So the fact that I believe you are the first one to report this at any test level (beta, rc, etc), combined with the fact that you weren't really doing anything at the time, would lead me to believe that at a minimum the problem is caused by some setting on your webserver.  Of course the more likely scenario is some other application running on a shared server (not your app) has the memory leak and is causing problems with the worker process.  Do you know if this server hosts other forums?  Just thinking maybe the hosting company set all apps of the same kind to use the same app pools/resources, etc.

Any thats just my thoughts, but if there is any other information at all you can provide (web server specs, settings) that might help in figuring it out.  Maybe get the hosting company to give you some actual log files, etc.



Jimmy Stuart

Post #6848
Posted 24/05/2005 14:19:04
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 15/11/2005 12:15:17
Posts: 65, Visits: 82
We host over 15 different .NET websites through them, and no others are experiencing the same problem. However, in light of your guys' input, I will try to follow up with them further to investigate. It sounds like no one else using RC1 is experiencing this problem?



Kind regards,

Tye Odle
IT Consultant
Assist Technology, Inc.

Post #6855
Posted 24/05/2005 14:29:00


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693, Visits: 2,418
It would definitely be something to pursue, since no one else has reported the issue.

I have multiple sites at my hosting company and I was only having the issue with 1 of them as well...  It turned out that my other sites were housed on different servers... 

The memory leak server was were my problem app was located...

Please keep us informed of your progress...  I'm very intersted in this...

I know that tweakxp.com is running RC1 and they have a very active board with many members...  I would assume they would be experiencing the same issue???  although I'm sure they have a dedicated server.

Keep in touch..  and good luck


..:: Bare ::..
http://www.livingformetal.com
Post #6857
Posted 31/05/2005 10:07:47
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 15/11/2005 12:15:17
Posts: 65, Visits: 82
Hmm.... our host has yet to send any additional information, even after five e-mails. But mysteriously, we have yet to have the error show up again. Coincidence? I'll keep you posted if we experience any further problems.



Kind regards,

Tye Odle
IT Consultant
Assist Technology, Inc.

Post #6994
Posted 01/06/2005 12:05:23
Forum Guru

Forum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum GuruForum Guru

Group: Customers
Last Login: 15/11/2005 12:15:17
Posts: 65, Visits: 82
Ok, scratch that, it's still happening. I finally got a response from our host after scratching and clawing my way up the support chain.

We have now also moved this site to its own app pool and have set its auto recycle to 120 minutes.

Web server specs:
- Dual xeon 3.06
- 2 GB Ram
- Scsi Raid 5 Hardware: 205 Gig Storage Space
- Application pool has default settings