Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Out of memory error in windows 2000/NT

Posted on 2003-11-19
12
Medium Priority
?
2,322 Views
Last Modified: 2012-06-27
I have a mid-size ASP  application running on windows 2000 and NT server. I am getting  a error "Error: File /iisHelp/common/500-100.asp Line 0 Out of memory.Unable to allocate reuired memory" twice daily and after that I have to reboot the system. I would like to get a permanent fix. Its running on IIS 5.0, MDAC2.7 and Service pack 6a
0
Comment
Question by:vijayshan
[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
  • 6
  • 5
12 Comments
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9779796
Do you have any idea where the memory leak is? Do you have any Calls to bespoke DLLs within the site ?
0
 

Author Comment

by:vijayshan
ID: 9779983
I have a dll running on MTS 2.0. This basically does simple add and updates with very small amount of data.Event log does not give any other error apart from mentioned one, so I have no clue about memory leak. We had some latest windows update and other hotfixes although.
0
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9780021
I see simalar behaviour on one of my clients sites, it is 2000 based and it is a COM+ component. I find that if I shut down the COM+ container and restart the webserver it frees up the memory (the freeing up comes at the COM+ container shutdown) I know that isn;t a solution but if you find that you can atleast identify the component there is then grounds to go away and then inspect the code within that - should that be the cuulprit of course
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 

Author Comment

by:vijayshan
ID: 9780242
Infact we are doing that already. Usually we stop and restart webserver mid day (during lunch hours). As per code goes we use OLE db provider in classic asp 2.0. I Checked all connections/command/recordset's closing or setting it free. We logged every dll call to trace a particular dll call. But there is no consistent call break, I mean it breaks at different calls different times. I wonder wheather event log error message has any relationship with this problem (It seems it gives wrong error description and problem is something else). IIS error code ASP 0100 describes "OUT of memory" but there is no info available

thanks to microsoft  :(
0
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9780274
" Its running on IIS 5.0, MDAC2.7 and Service pack 6a "

I guess it was a typo on you part and that you meant IIS 4 right ?

THere is a new MDAC out, you could run that at the server see if it helps. When you get the out of memory error is the machine actually out of memory i.e. swap file full and growing or is it a programatic out of memory and you have lots actually spare ?
0
 

Author Comment

by:vijayshan
ID: 9780484
Windows 2000 Server runs on iis 5.0, MDAC 2.71.9, Service pack 3
Windows NT 4.0 Server runs on iis 4.0, MDAC 2.71.9, Service pack 6a

We have a webfarm setting.Usally IIS web server goes down, machine does not hang! I was looking at performamnce monitor...it shows less than 50% memory usage. How to check swap file full and growing ?? There are no other applications open on server during the error. Out of memory message is provided by the web server in the event log. Is there a latest MDAC after 2.71.9 ? Please let me know

Error message on Windows 2000 is "Error: File /iisHelp/common/500-100.asp Line 0 Out of memory.Unable to allocate reuired memory".

Error message on Windows NT is "Error: File ?  Out of memory.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp. " 

Users get a blank page after that
0
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9780527
2.8 was released 3 months ago

http://www.microsoft.com/downloads/details.aspx?FamilyID=6c050fe3-c795-4b7d-b037-185d0506396c&DisplayLang=en

I don't suppose that you loose both servers at the same time ?
0
 

Author Comment

by:vijayshan
ID: 9780558
Usually First NT goes down and then after less than an hour win 2K.
0
 
LVL 9

Expert Comment

by:fz2hqs
ID: 9780582
I wonder if it might be related to load ? I epxect that the 2k server is better spec?

Just guessing but the NT4 server reaches its limit (for reasons unknown) and the server dies the load shifts and then the 2k server traffic doubles and then that too dies ?

I would suggest you post something in a VB \ COM forum and ask there if there is a way to better protect the component or increase the available resource to it
0
 

Author Comment

by:vijayshan
ID: 9780681
Is there are any documentation regarding MDAC 2.8?...specifically mentioning the fixes or any patches. If it relates to memory leaks I am planning to go for it. Generally I heard MDAC latest versions fixing unusual problems.

Yeah, quite possible that 2k goes down with double traffic. but at times NT does not go down but 2K goes itself (very rare although)
0
 
LVL 9

Accepted Solution

by:
fz2hqs earned 1050 total points
ID: 9780712
0
 

Expert Comment

by:aliaee
ID: 11188873
Dear Sir,

I go to this link "http://msdn.microsoft.com/library/default.asp?url=/downloads/list/dataaccess.asp

to see a solution for my question but I got this page from microsoft.com:

"Data Access Downloads
The Data Access download list page has been moved. Please visit the new location at Data Access and Storage Downloads, where you can find product and update downloads, code samples, and more."

Plz send me the solutions. Thank you in advance.
0

Featured Post

Will your db performance match your db growth?

In Percona’s white paper “Performance at Scale: Keeping Your Database on Its Toes,” we take a high-level approach to what you need to think about when planning for database scalability.

Question has a verified solution.

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

If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

670 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