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?

View Replies


ADVERTISEMENT

DLLHOST And Memory Creep

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 Microsoft Web Application Stress Tool to monitor performance
and make sure database connections (opened within the VB6 DLLs) are being
closed and pooled properly. At the same time, I'm using the Windows Task
Manager to watch how much memory DLLHOST.EXE is using.

Windows Task Manager is showing me that DLLHOST is using more and more
memory over time. Memory usage goes up while a test is running, and then goes
down a bit when the dust settles after a test (e.g., once the closed
connections are removed from the pool and finally deleted), but it never goes
back down to what it was before the test ran--over time, memory usage keeps
creeping upward.

The VB6 DLLs used by my ASP pages open ADO database connections, but the
code is very careful about closing Recordsets and Connections and setting
them to Nothing.

A few questions:

1. Is this normal? Should I be concerned?

2. The ASP code instantiates these object with code like this:

set obj = Server.CreateObject("DLLname.ObjectName")

Is it important for the ASP code to do something like "set obj = Nothing"
before it exits? If the ASP code doesn't do that, will the memory used by the
object be freed when the ASP page terminates or when the user's Session ends?

3. Is there a better way I should be monitoring memory usage for this kind
of situation? (The Counters in the Perofrmance Monitor are kind of daunting.
If you can suggest an article that would help me understand memory usage,
that would be great.)

View Replies View Related

Memory Leak :: Dllhost.exe Grows Unexpectedly

We have a web application in AS. It also uses COM+ and SQL Server as back-end. Sometimes the size of the dllhost.exe grows unexpectedly. It is such that we restart our IIS/ PWS. Also there is only one instance of dllhost running when we restart the webserver but later on we notice more than one instance sometimes.

View Replies View Related

ASP, Excel -Size And Memory

I have an asp page that displays the results in Excel in the browser.
It has about 40 columns and sometimes records can grow upto 1100.

For small number of records I do not get any error messages or displays
the result in Excel format properly. But for the higher number of
records even if the program runs for all day it hangs up and shows
nothing.

In the asp program I have many if and then statement as well as big
loop.

My question is how can I solve this problem? Do I have to look into the
web server memory and other configuration settings? Or is there a
maximum size limit in Excel.

View Replies View Related

Memory Working Set Vs Virtual Size

what I should be looking at when looking for a memory leak.. Using Process Explorer by SysInternals, and they have a Working Set and a Virtual Size memory column. Which one should I be looking at?

View Replies View Related

DLLHOST.EXE

oRS.CursorType = 1
oRS.LockType = 3

sSQL = "select * from sat_lesson_drills where drill_id=" & drill_id
oRS.open sSQL, conn

For each Field in oRS.Fields
if instr(Field.Name,"MA") = 0 then

oRS.Update Field.Name, Request.Form(Field.Name)end if
next

oRS.Close

View Replies View Related

DLLHOST

Im suddenly having a problem with the asp pages displaying on my website. Whenever I try to access an asp page, the processor usage of the task "dllhost.exe" shoots up to
100% and my asp script times out.

This asp code has been running on my site for over a year and nothing has changed about it. All the articles/advice that I have read relate to programming variables within
the asp script to prevent these type of problems. If the script has been running for this long, why would this type of problem manefest itself at this time?

View Replies View Related

Hanging ASP And DLLHOST.exe

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 this caused by something else? If it is a memory issue, I can start tracking it down. I just need to know what the possible issues/causes could be to get started troubleshooting.

View Replies View Related

DLLHOST.exe Become Large

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

View Replies View Related

Source Of Dllhost.exe

I've got a Windows 2000 server running with about 50 websites on it, all
running ASP scripts. I've noticed that the servers CPU usage gets up 100%
sometimes, caused by dllhost.exe, which I'm certain is a hanging ASP script
somewhere on the box. Probably an on error resume next line that doesn't go
anywhere when an error is an encountered. Anyways, I'm not sure if there's
a way to isolate the website where its originating, or even the page this
problem is originating from. Is there a way to do this?

View Replies View Related

DLLHOST.EXE Shutdown Not Working!

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 read that this may be because IIS is caching the TypeLibs so I tried
setting the AspEnabletypelibCache flag to try stop IIS doing this, if indeed
it was, but the process still doesn't shut down.

Is there another way to get the process to shutdown (I thinkin this must be
happening because references to various dll's aren't being released in the
code), I would hope there to be a way to tell IIS/COM+ to shut-down the
process anyway. I don't want to have to run a script to keep unloading the
process.

View Replies View Related

An Asp Page Caused Cpu Rising To 100% --> Dllhost.exe

Today, an interesting thing happened to me. When I am doing the test of an
asp program, one of the pages(which I submitted several ten times before, no
problem at all) caused our server cpu rising to 100% and I reset IIS and
submit that page again and same thing happened again, and then reset IIS
again and it happened again, the process caused this is dllhost.exe.

Thinking about what's the difference this time from what I submitted before.
The only thing I can think of is I entered some name fields data with
apostrophe.

View Replies View Related

File Size And Folder Size

I'm using Windows 2000 server n IIS I'm Using FileSystemObject of ASP in Server Every File and Folder has 2 Size when we get properties of any 1 actual size and Size on Disk.now my problem is when i get the file size from ASP object it give Size value but when i try to get folder size it gives size on disk and both values are different.

I'm creating a size to access limited size to upload files so i just check the folder size and then get size for those which are going to update by user then i will less those size to actual folder size to get remaining size.

View Replies View Related

Setting Session Variable Maxes Dllhost

I have an ASP application that has been running for 5 years that I am now modifying. Since then, I have installed asp.net 1.1 and 2.0 on my xp pro box. Whenever I run the "login" code for the app, it crashes as my dllhost goes to 98% cpu. I have traced the code to this line:

Session("SCHUserID")=123

What is strange is if I set the value to 11 or lower, this does not fail. What is also strange is if I set Session("SCH1UserID")= 123 it works. I know this has to have something to do with running asp.net on this box as well. I have tried running the app in its own process (High) and creating it's own virtual directory with no luck.

View Replies View Related

Dllhost.exe :: Listener Failed To Start A Dedicated Server Process

I am having serveral web applications in ASP in my server ( windows 2000 advance server ), sometimes dllhost.exe taking more memory and causes the cpu usages to be 100% and makes the server hangup and causing error like "TNS : listener failed to start a dedicated server process", by the way if i end the process of dllhost.exe manually then the cpu usage will be very less and i wont get such error .

i have the following questions regarding that

1)what causes the dllhost.exe to takes more cpu usage,

2)is there any command from dos to kill such process so that i can create bat file to be run every one minute. i have searched i found only some third party tools and there is command taskkill but it is not for windows 2000 ( it is available only for win xp and windows 2003)

View Replies View Related

Out Of Memory?

We are receiving an error in our ASP website that used to run fine on our old servers but seems to be struggling on our new ones, I'm wondering if you've seen this error before?

Microsoft Cursor Engine error '8007000e'

Out of memory.

/oob/activities/default.asp, line 470

The last line that shows where the error happening is different on every page but it appears at the first database connection on each page.

The only way to get rid of the error and get the site working again is to recycle the application pool for the site (or restart IIS).

We have two servers, one running IIS and the other running MSSQL 2005. Both are the following specs: Code:

View Replies View Related

Memory - Only SQL?

I think I already know the answer ("NO"), but I figured I'd ask anyway:

Is there a way to populate a SQL-like object entirely in memory, without having to save it in a SQL-like environment like MySQL, MS-SQL, or Access?

I'd like to take the contents of some CSV's and dump them into a virtual SQL table, and then call from that table using a SQL statement ("SELECT * FROM VirtualTable WHERE Foo='Bar'"). I know that in .NET I could use a data-grid to do basically that, but I was wondering if there was a classic ASP solution.

View Replies View Related

Out Of Memory

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 .andmjust restart the service.

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?

View Replies View Related

ADO Memory Leak

I'm having a problem that I can only attribute to something that I don't
know about ADO. I am using an ADODB.Connection with .CursorLocation = 3
since I am using MSSQL with text fields.

I am running a large set of 4 LEFT JOINS (5 tables in all). Currently
my recordset is returning 168 rows and 23 colums. After looping through
the ADO connection 27 times (creating a pdf report for users to print)
the data goes nutz. I have tried using different inputs and no matter
what on the 27th time is stops.

View Replies View Related

IE Memory Profiler

Does any body know any tool that profiles Internet Explorer for memory
leaks.

View Replies View Related

ASP Out Of Memory Errors

I am trying to write a search script in my spare time at work. We have a knowledge base consisting of 200+ .mht files. My script was working ok when I was testing it on just a few files but I am getting out of memory errors trying to search through the whole KB. Here is the search code:

View Replies View Related

Release Memory

am just wondering is there a easier way to release all the memory after the program is done?or do I need to set all my variable = nothing one by one at the end of my code?

View Replies View Related

Eating Memory

We've got this problem on our site where slowly eats virtual memory until IIS stops serving pages...

Restarting the IIS process fixes the problem, until the next time it reaches that point. I've made sure all our ADO objects are being closed and set = Nothing. I don't know what else could eat up all that memory...

View Replies View Related

Out Of Memory Errors

I am trying to create a search script but I am running into an out of memory error. Here is the search subroutine which loops multiple times:

Code: .....

View Replies View Related

Out Of Memory At Line 30

Had developed a webpage to refresh automatically from one ASP page to another, with the feature of displaying local data that is actively poll & inserted from other remote database servers. The local server is using IIS & Microsoft SQL 2000. I have the problem of "Out of Memory at line 30" after the ASP page has ran for 13 hours, at client machines that is connecting to the server hosting the ASP. However by closing the Internet Explorer and re-open the ASP page, the problem is temporary resolved until another 13 hours later. I think i've had the server objects set to nothing, and had put all queries into sub. I couldn't think of other solution for the problem...

Is duplication of sub affecting the performance? Any setting to be done on server, e.g. IIS / SQL? I've attached the ASP file.

View Replies View Related

Memory Leaks

Are there any tools to test asp code on memory leaks. Or the took that will monitor IIS server against specific asp-page in order to find mem leaks on in.

View Replies View Related

Memory Resident Only Cookies?

I am trying to beef-up the security when passing data between pages. I am currently using the following code to navigate between some of my pages.

<a href="javascript: GetFormValue(FRMTRANSFERS.TXTHOSPITALID,'ADDPATIEN T');">
<SCRIPT LANGUAGE="JavaScript">
function GetFormValue(FField,StrPage)
{
var myField = FField
var myNumber = myField.value
self.location = StrPage + ".asp?ID=" + myNumber;
}
</SCRIPT>

I would rather use cookies to do this but i need to know if you can create a cookie that doesn't get written to the harddrive. I can't use session variables as i can't write then in Javascript - at least i think not -

View Replies View Related

Display Images From Memory

I have managed up to the point that a byte[] imageContent contains a picture which i can show in a aspx page by:

// return byte array to caller with image type

Response.ContentType = "image/jpeg";
Response.BinaryWrite(imageContent);

but what i need is to post it back to the page that the user entered various details without losing them.

View Replies View Related

Asp Text File Out Of Memory

I have a page which sends a query to an DB2 using an ODBC. The
results are then written to a text file. I am unable to write directly to
the users drive because of permissions.

The problem I have is that when the
query set becomes too big, I get error '8007000e' Not enough storage is
available to complete this operation. The query is returning 100, 000
records or more. So my question is how do I handle this? Somebody had
suggested to me to chunk the data. Code:

View Replies View Related

Out Of Memory Error Message.

I get the following error message from an ASP page that we have:

METHOD: POST
ERROR DESCRIPTION: 007~ASP 0100~Out of memory~Unable to allocate required
memory.
ERROR NUMBER: -2147024882
ERROR SOURCE: Response object

Does anyone out there have any ideas? Please let me know if you need any
more information ... I am not sure why this message has suddenly started to
pop up.

I checked the system logs and cannot see any particular memory loss related
message so I don't know.

View Replies View Related

Error - Event ID:5 Out Of Memory

I have found this message in Event Viewer on my Windows 2000 server.

Error: File/Test/upload/upload.asp Line 85 Out of memory. Unable to allocate required memory..

It seems to be the cause of a problem I have had uploading and downloading files through an ASP page using Binary Stream Objects. Anyone got any ideas about how to solve this?

View Replies View Related

ASP Date Loop Out Of Memory

I have a problem with a bit of asp used in a date selection box. It is supposed to get the right days and dates and then list them in the select box for up to a week ahead. The error i get is Out Of Memory specifically the line reading:

ReDim daysOfWeek(strDaysTaken)

Here is the code:

View Replies View Related

Stumped Getting Out Of Memory Error

I'm creating some menus based on a recursive menu script I got from here

I have modified it to use a SQL database as well as a jquery nested menu which works similarly to suckerfish dropdowns.

What I want the script to do is to recursively go through the list and when there is a child display it. My version works just fine the first go around but then fails once it's called a second time.

I can't show you the link because it's on our internal server, but here is my code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved