Solved

Out of Memory error on web server

Posted on 2011-09-20
8
285 Views
Last Modified: 2012-05-12
Any thoughts on why this error occurred?

Server Error in '/admin' Application.
Exception of type 'System.OutOfMemoryException' was thrown.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.]
   System.String.Concat(String str0, String str1) +109
   Microsoft.VisualBasic.CompilerServices.ObjectType.StrCatObj(Object vLeft, Object vRight) +164
   BulkEmail.sendEmailSQL.SendEmails(DataSet dset, Int32 RecordCount) +1923
   BulkEmail.sendEmailSQL.ProcessForm_Command(Object sender, CommandEventArgs e) +1529
   System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +108
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +166
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565
0
Comment
Question by:Elessar1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 

Author Comment

by:Elessar1
ID: 36568224
looking for possible causes
0
 
LVL 53

Accepted Solution

by:
Huseyin KAHRAMAN earned 125 total points
ID: 36568251
an infinite loop maybe...
0
 
LVL 7

Assisted Solution

by:celazkon
celazkon earned 125 total points
ID: 36568261
could be an error in the loop on the recordset object, double check if you didn't forget to move to the next recordset item before the end of cycle (loop).
good luck
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 15

Assisted Solution

by:pateljitu
pateljitu earned 125 total points
ID: 36568743
Looks like problem occurs while concatenating string (please provide code), try using System.Stringbuilder instead:

http://msdn.microsoft.com/en-us/library/system.text.stringbuilder.aspx
0
 
LVL 9

Assisted Solution

by:tanujchandna
tanujchandna earned 125 total points
ID: 36584882
Hi,

This error normally comes up when you are using MS access database in backend for your websites and didn't closed the recordset properly after query execution in your website. The best way to resolve this issue is, if you know the website names who are using MS Access database, move them in specific application pool or if you don't know the website names then move those website in specific application pool which you are able to see in event logs who are generating the errors.
0
 

Author Comment

by:Elessar1
ID: 36600692
We'll never know what the cause was. The company hosting the server notified their client that they had been having issues and whatever they did apparently cleaned up the service. I will spread the pints among all of you if I can.
0
 

Author Closing Comment

by:Elessar1
ID: 36600706
problem was resolved at remote end without feedback from the hosting facility
0
 

Author Comment

by:Elessar1
ID: 36600721
Sorry - that was POINTS, not PINTS. Thank you all for your assistance.
0

Featured Post

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Finding the IIS version 5 54
Designing forms 3 70
Clear input text 15 34
Two decimal 5 43
What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question