473,549 Members | 2,573 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

dllhost.exe memory size

I am running a web application with application protection
level set to high, so it runs in a separate dllhost.exe
process, the process takes around 14,000 K of memory I
wanna know if this is fine or I have a memory leak problem

I set all record sets to nothing without closing them and
also I close the database connection

Are there any tools that can measure the ASP page
performance and tell me where do I have performance
bottlenecks ?

Thank You
Jul 19 '05 #1
4 3730
> process, the process takes around 14,000 K of memory I
wanna know if this is fine or I have a memory leak problem
14 MB doesn't sound like a big problem at all. Is it constantly growing, or
does it stay stable?
I set all record sets to nothing without closing them and
also I close the database connection


Do you have a reason for this, other than laziness?

ALWAYS close all objects, and ALWAYS set them to nothing. Unless an object
doesn't have a close method (e.g. FileSystemObjec t), there is no plausible
reason to only set it to nothing. There is also never a good reason to just
"not bother" setting an object to nothing. ALWAYS destroy what you create.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #2
It increases when we use the application and browse more
pages which is normal, it reached 25 MB, when should I get
worried, one other thing, the memory allocation doesn't go
down when I close the browser, when should that happen ?

Thanks
-----Original Message-----
process, the process takes around 14,000 K of memory I
wanna know if this is fine or I have a memory leak problem

14 MB doesn't sound like a big problem at all. Is it constantly growing, ordoes it stay stable?
I set all record sets to nothing without closing them
and also I close the database connection


Do you have a reason for this, other than laziness?

ALWAYS close all objects, and ALWAYS set them to

nothing. Unless an objectdoesn't have a close method (e.g. FileSystemObjec t), there is no plausiblereason to only set it to nothing. There is also never a good reason to just"not bother" setting an object to nothing. ALWAYS destroy what you create.
--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
.

Jul 19 '05 #3
> worried, one other thing, the memory allocation doesn't go
down when I close the browser, when should that happen ?


When the session goes out of scope, probably. You will probably relieve
some of this by using CLOSE + SET TO NOTHING for both recordsets and
connections.

Also, see http://www.aspfaq.com/2424 for other ideas on general efficiency,
and a few on reducing memory footprint of ASP pages.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #4

"Khaled Omar" <ko**@hotmail.c om> wrote in message
news:d1******** *************** *****@phx.gbl.. .
It increases when we use the application and browse more
pages which is normal, it reached 25 MB, when should I get
worried, one other thing, the memory allocation doesn't go
down when I close the browser, when should that happen ?


If you are worried about memory leaks just keep an eye on the memory ussage
of your application while you run through it. Opening new pages ussually
will make the app allocate some more memory, refreshing the same page
however shouldn't, or shouldn't take as much as it did initially.
When you keep refreshing a page, and you see the memory rise with the same
amount with every refresh, chances are you have a memory leak in that page.

Jul 19 '05 #5

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

Similar topics

3
3156
by: Graham Mattingley | last post by:
Hello Group, I have had an issue on my server for a long time and what ever I have tryed I just cant fix it. I run mySQL and IIS, and my server will crash every few days because a file on the server called DLLHOST.EXE has taken all the memory, and the mySQL goes off line. I close all of the record sets, and all of the Text files I...
1
5999
by: David Swift | last post by:
Hello. I'm new to the news group and new to IIS. I'm trying to help a client deal with memory usage issues in IIS. My client is running IIS 5.0 on a Win2K box and is running ASP scripts that both talk to an Active X Control written in C++ as well calls directly into the ADO layer. It seems that basic interaction with the ADO layer and...
6
3931
by: Ben | last post by:
I have intermittent problems with asp pages timing out. When this happens, my DLLHOST.exe runs away with all of my CPU for about 2-3 minutes. As I understand it, this component executes asp requests in a COM server on IIS. I am not using any custom COM objects in my app, but lots of ADO. Could this be a memory leak with my use of ADO, or is...
1
3000
by: Venkat_hcl | last post by:
Hi, The following is the error keep getting while running web application. Tools used: HTML, ASP, DLL's(written in Delphi). Application Error: dllhost.exe - Application Error --------------------------- The instruction at "0x00000000" referenced memory at "0x00000000". The memory could not be "read". Click on OK to terminate the program
0
2001
by: mjkahn | last post by:
I'm running IIS 5.0 under Windows 2000 Server. My ASP (VBscript) code instantiates and uses some objects implemented in custom-written Visual Basic 6 DLLs. (Thanks to a previous thread, we no longer store those objects in Session variables.) Application Protection for this site's Virtual Directory is set to Medium (Pooled). I'm using the...
0
1533
by: StephenMcC | last post by:
Hi All, I have an IIS app running in high isolation, although the dllhost.exe COM+ process isn't shutting down & accumulated memory released. I've tried to set the 'Server Process Shutdown' on the server package in COM+ in an attempt to shut-down the process when idle for more than 3 mins (the default), but this ain't happening. I've...
8
6012
by: Don Miller | last post by:
I've been extensively modifying a web application (ASP, COM+) to take advantage of the XMLHTTP object for asynchronous requests (e.g. Ajax) on my dev machine (Win2KPro). I test the application from another machine on the network (or using IE, Firefox, etc. on the same machine). Everything seems to work fine (no errors anywhere) and the web...
0
1088
by: Dag Sunde | last post by:
We have a web application running on Win2000 AS/IIS 5.0 Developed using ASP (not ASP.NET), this is set up to run in a medium (pooled) memory space. (DllHost.exe) After installing .NET framework 1.1, any request to any of our .asp pages makes DllHost.exe to start, and then hang. No response on the client. Anybody experienced this...
1
2567
by: Manoj S | last post by:
Hello, I have two aspx pages. In the page load of one of the page, I have a com+ component being initiated and used. Due to this, DLLHOST.exe gets loaded. After the usage of the object is over, Im disposing the obj by assigning null values to the obj in the page unload event at the server side. But still the DLLHOST.exe is available in the...
0
7527
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7485
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...
0
7819
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...
1
5377
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...
0
5097
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3505
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...
0
3488
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1953
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
0
772
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...

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.