473,625 Members | 3,330 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Out Of Memory - What Memory?


Hello All,

I am getting an ASP error.. that tells the server it is OUT OF MEMORY.. then
the server displays a message about the DLLHOST.exe and it waits for an "OK"
from me... after hitting OK... it goes back to working fine.... BUT, while
the notification is up on the screen... the website is NOT AVAILABLE.... that
is the message that visitors get when they try to get to the website....

so, is there a way I can tell the system to SKIP the notification ... and
just restart the service..... ?

ALSO... What memory is the issue here... I am assuming this memory error is
coming from an INFINITE LOOP or something... from one of my ASP pages... so,
I would imagine the best move would be to get RID of the "On Error Resume
Next" code at the top of my pages.. to try and isolate the problem?

thanks...

any info that you can provide would be greatly appreciated...
--

Systems Programmer

Jul 22 '05 #1
4 2155
MSUTech wrote:
Hello All,

I am getting an ASP error.. that tells the server it is OUT OF
MEMORY.. then the server displays a message about the DLLHOST.exe and
it waits for an "OK" from me... after hitting OK... it goes back to
working fine.... BUT, while the notification is up on the screen...
the website is NOT AVAILABLE.... that is the message that visitors
get when they try to get to the website....

so, is there a way I can tell the system to SKIP the notification ...
and just restart the service..... ?
Nope. Not that I'm aware of.
ALSO... What memory is the issue here... I am assuming this memory
error is coming from an INFINITE LOOP or something... from one of my
ASP pages... so, I would imagine the best move would be to get RID of
the "On Error Resume Next" code at the top of my pages.. to try and
isolate the problem?

That would be a good thing to do. You should also check the IIS logs to see
what request was being worked on when the crash occurred. It will at least
help you concentrate on the correct page.

Go to www.iisfaq.com. They have some debugging tools that may prove usefull
(iisstate).

HTH,
Bob Barrows
PS. This newsgroup is deals mostly with programming issues. You may get more
useful answers about server problems from the .inetserver.iis newsgroup.

--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jul 22 '05 #2
MSUTech wrote:
Hello All,

I am getting an ASP error.. that tells the server it is OUT OF MEMORY.. then
the server displays a message about the DLLHOST.exe and it waits for an "OK"
from me... after hitting OK... it goes back to working fine.... BUT, while
the notification is up on the screen... the website is NOT AVAILABLE.... that
is the message that visitors get when they try to get to the website....

so, is there a way I can tell the system to SKIP the notification ... and
just restart the service..... ?

ALSO... What memory is the issue here... I am assuming this memory error is
coming from an INFINITE LOOP or something... from one of my ASP pages... so,
I would imagine the best move would be to get RID of the "On Error Resume
Next" code at the top of my pages.. to try and isolate the problem?

thanks...

any info that you can provide would be greatly appreciated...


What server OS are you running?
It's an IIS setting, not an ASP one by the way... you might want to hit
an IIS group, they could probably give you more pointers...

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com
Jul 22 '05 #3
I am running Win 2000 Server...

I will go ahead and post this problem on that other newsgroup as well..

thanks...
--

Systems Programmer

"Curt_C [MVP]" wrote:
MSUTech wrote:
Hello All,

I am getting an ASP error.. that tells the server it is OUT OF MEMORY.. then
the server displays a message about the DLLHOST.exe and it waits for an "OK"
from me... after hitting OK... it goes back to working fine.... BUT, while
the notification is up on the screen... the website is NOT AVAILABLE.... that
is the message that visitors get when they try to get to the website....

so, is there a way I can tell the system to SKIP the notification ... and
just restart the service..... ?

ALSO... What memory is the issue here... I am assuming this memory error is
coming from an INFINITE LOOP or something... from one of my ASP pages... so,
I would imagine the best move would be to get RID of the "On Error Resume
Next" code at the top of my pages.. to try and isolate the problem?

thanks...

any info that you can provide would be greatly appreciated...


What server OS are you running?
It's an IIS setting, not an ASP one by the way... you might want to hit
an IIS group, they could probably give you more pointers...

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

Jul 22 '05 #4
Its definately due to infinite loop/ large recordset etc. Could you post your
code ?Remember you ASP app should always be statless
1.Open connection
2.Get data
3.Close connection

Post code, I will help you out

"MSUTech" wrote:
I am running Win 2000 Server...

I will go ahead and post this problem on that other newsgroup as well..

thanks...
--

Systems Programmer

"Curt_C [MVP]" wrote:
MSUTech wrote:
Hello All,

I am getting an ASP error.. that tells the server it is OUT OF MEMORY.. then
the server displays a message about the DLLHOST.exe and it waits for an "OK"
from me... after hitting OK... it goes back to working fine.... BUT, while
the notification is up on the screen... the website is NOT AVAILABLE.... that
is the message that visitors get when they try to get to the website....

so, is there a way I can tell the system to SKIP the notification ... and
just restart the service..... ?

ALSO... What memory is the issue here... I am assuming this memory error is
coming from an INFINITE LOOP or something... from one of my ASP pages... so,
I would imagine the best move would be to get RID of the "On Error Resume
Next" code at the top of my pages.. to try and isolate the problem?

thanks...

any info that you can provide would be greatly appreciated...


What server OS are you running?
It's an IIS setting, not an ASP one by the way... you might want to hit
an IIS group, they could probably give you more pointers...

--
Curt Christianson
site: http://www.darkfalz.com
blog: http://blog.darkfalz.com

Jul 22 '05 #5

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

Similar topics

0
2040
by: Andreas Suurkuusk | last post by:
Hi, I just noticed your post in the "C# memory problem: no end for our problem?" thread. In the post you implied that I do not how the garbage collector works and that I mislead people. Since the thread is over a month old, I decided to start a new one with my response. Please see my comments inline.
4
13002
by: Frank Esser | last post by:
I am using SQL 8 Personal edition with sp2 applied. I set the max server memory to 32MB and leave the min server memory at 0. When my application starts hitting the database hard the memory usage reported through task manager peaks between 41-42MB. I've stopped and restarted the MSSQLserver service and checked that the running values are what I set them to be. Does anybody have any ideas as to why the sqlservr.exe would be utilizing more...
4
2584
by: Franklin Lee | last post by:
Hi All, I use new to allocate some memory,even I doesn't use delete to release them. When my Application exit, OS will release them. Am I right? If I'm right, how about Thread especally on Solaries OS? This means that I use new to allocate memory in one Thread and doesn't use delete to release them.
9
2341
by: Mike P | last post by:
I know everything about reference counting and making sure you don't have large objects lying around. I have also profiled my app with multiple tools. I know about the fact GC collects memory but not necessary give it back to the OS. It seems that .NET win app will only return memory to the OS when the OS is asking for it. But!!! When the OS is asking for it is usually too late, tons of swapping and slow performance.
22
3467
by: xixi | last post by:
hi, we are using db2 udb v8.1 for windows, i have changed the buffer pool size to accommadate better performance, say size 200000, if i have multiple connection to the same database from application server, will each connection take the memory 800M (200000 x 4k = 800 M), so the memory took will be 800M times number of connections, or the total memory get from bufferpool will be 800M?
14
20763
by: Alessandro Monopoli | last post by:
Hi all, I'm searching a PORTABLE way to get the available and total physical memory. Something like "getTotalMemory" and it returns the memory installed on my PC in bytes, and "getAvailableMemory" and it returns the available memory in bytes. Do you know is there's a C function, a c++ Object or anything else that compiles in Linux and Windows to get these data?
1
3010
by: Nick Craig-Wood | last post by:
I've been dumping a database in a python code format (for use with Python on S60 mobile phone actually) and I've noticed that it uses absolutely tons of memory as compared to how much the data structure actually needs once it is loaded in memory. The programs below create a file (z.py) with a data structure in which looks like this -- z.py ---------------------------------------------------- z = {
5
24683
by: kumarmdb2 | last post by:
Hi guys, For last few days we are getting out of private memory error. We have a development environment. We tried to figure out the problem but we believe that it might be related to the OS (I am new to Windows so not sure). We are currently bouncing the instance to overcome this error. This generally happen at the end of business day only (So maybe memory might be getting used up?). We have already increased the statement heap & ...
1
2033
by: Jean-Paul Calderone | last post by:
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), yzghan@gmail.com wrote: The test doesn't demonstrate any leaks. It does demonstrate that memory usage can remain at or near peak memory usage even after the objects for which that memory was allocated are no longer live in the process. This is only a leak if peak memory goes up again each time you create any new objects. Try repeated allocations of a large dictionary and observe how memory...
5
505
by: cham | last post by:
Hi, I am working on c++ in a linux system ( Fedora core 4 ), kernel version - 2.6.11-1.1369_FC4 gcc version - 4.0.0 20050519 ( Red Hat 4.0.0-8 ) In my code i am creating a vector to store pointers of type structure "SAMPLE_TABLE_STRUCT" ( size of this structure is 36 bytes ). I create an instance of structure "SAMPLE_TABLE_STRUCT" using operator "new" and push back into the vector,this is done inside a for loop for
0
8694
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8356
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8497
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6118
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4089
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4193
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2621
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1500
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.