Memory Leak :: Tools To Check It?
My webhosting company took down my website as it was causing a high memory use. Of course this happened just when I was on holiday ! Anyway I am trying to figure out what's going on. I didn't updated any script for more than 2 weeks before the abuse occured as I was on holiday. To make sure everything would be fine when away I had purge the database, defrag and compact it before leaving.
Any tools I can use to check out my site ? My host send me some log files created by Filemon but I can't really figure out what's wrong.
View Replies
ADVERTISEMENT
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
We are doing a stability test on our application to prepare for Microsoft
SQL Server 2000 certification, and we found a memory leak, but we cannot find
its source and fix it.
We use an ASP page written in JScript that connects to Analysis Services
2000 using ADOMD and retrieves data from it (this is a very simplified
version of our real application that we created just to test the memory
leak), see the code below.
We are using Microsoft Application Center Test to run this page, and
Performance Monitor to monitor the Memory/Committed Bytes and Processor usage
of our web server. The Memory/Committed counter slowly increases over time,
which indicates a memory leak, right? The Private Bytes for the InetInfo
process remain stable.
Our setup is a web server running Windows 2000 and Analysis Services on a
different server running Windows 2000. The application Center Test is running
from another computer. We also tried using a web server running Windows XP
Pro instead of Win2000, with similar results.
Using PerfMon, we monitor the number of Analysis Services connections, and
this number remains stable, so the memory leak doesn't seem to be due to an
ever increasing number of AS open connections.....
View Replies
View Related
Can this be the reason for huge memory expansion ? Doesn't this script free memory of the object it had created?
sub createCOMobject()
set obj1 = createObject("object1")
dim flag = 1
useObject flag,obj1
end sub
----------------------------------
sub useObject (flag, byRef obj1)
....
set obj1 = Nothing
end sub ....
View Replies
View Related
We are running asp (not asp.net) and vb com dll web sites on a machine which also has sql server 2000 sp3a running and uses Windows Server 2003. We recently migrated from Windows 2000 (same database) where we had no problems. However on the new machine, despite much being much more powerful and having the same usage, the box is periodically
grinding to a halt. The cause seems to be sql server using excessive amounts of memory, it steadily builds up to after a reboot to a high level. This seems to point in the direction of a memory leak, is anyone aware of any such problems with asp/sql server on windows 2003 and how to diagnose/fix them. I am aware of some unclosed connections in the asp code and objects that have not be set to nothing but this did not seem to cause a problem in the old machine and it is not practical to fix them all in the short term. I thought it might be unclosed connections although when I looked at SQL Server:General
Statistics and User Connections I did not seem to see a large or increasing number of connections.
View Replies
View Related
Anyone have any insights on how to debug a memory leak with a classic asp application?
View Replies
View Related
Im trying to track down a memory leak in one of our windows servers thats running W2k. Pretty basic install, although we have 3rd party software that simply blows.
Is there a way to check which ASP processes are running via command line, or another method on W2K/XP ?
View Replies
View Related
I have implemented a content management system through ASP and XML files. I am using sessions for my login information. It is a fairly complex site and uses various personal options for clients like, my page, my setting and my e-cards. The database for the clients is kept on MS SQL server. ANd I am using ADODB to connect at various stages.
The problem is that when more than 10 people try to access the site at the same time, irrespective of which part they access, the site hangs and goes down. When I monitor the server for the problem, the memory free goes tremendously high, even for small no of connections. The connections keep on increasing at a fast pace till the website crashes and there are no more connections that can be added. I am currently trying the strategy of timeouts (decreasing them at various portions of the code) and also checking whether there are any open connections. But I am not able to check how many clients are ACTUALLY connected. I read Response.isClientConnected is a strategy....
View Replies
View Related
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
We have an webservice application that has a memory leak when the application
is compiled release mode. However, when the application is compiled in debug
mode it does not exhibit a memory leak.
We are running .net 1.1 compiled with VS 2003.
The application does reference an unmanaged dll that provides security
functionality. This dll is instantiated once and referenced on every web
service call.
View Replies
View Related
As I ran in to errors like "Ran out of memory" and "Out of memory" I
supposed my website might have memoryleaks. To trace a potential memory leak
I isolated the IIS process and monitored the 'Virtual Bytes' and 'Private
Bytes' for a while.
I noticed the private bytes stays 'low' all the time. Sometimes a bit up,
sometimes a bit down. Virtual bytes also follows the same pattern for most
times. But, sometimes it increases to almost 2gb en stays there.
I've been reading for memory leaks an aggressive caching and stuff and was
wondering when there is a memory leak. In short: what does it mean thet the
amount of virtual bytes stays high? Is this probably due to caching or....?
View Replies
View Related
If you care to share, please post what tools you use for ASP development. I've been using basically the same set of tools for a looooong time and was wondering what other like-minded people are using.
Me:
Dreamweaver MX for layout & design
Araneae for ASP
Photoshop 6 (too cheap to upgrade ) for graphics
...And I'm trying to learn VB and am tinkering with Flash
[Added later]
I also use Access & MySQL for DB work (very little Access anymore).
View Replies
View Related
What does eveyone here use to create their ASP apps?
View Replies
View Related
Can anyone give me good references on tools for ASP web programmers? I am
not talking about DreamWeaver or FrontPage for developing ASP pages, but
other tools that ASP web programmers should use, for example, for
performance measurements, etc... I don't know if there are any tools, I just
ask because I am new ASP web programmer.
View Replies
View Related
Has anyone ever set up code samples for using UPS online tools I need it
for international shipping. I've been trying to setup the tools myself. Some
countries work fine, others produce validation errors. Other errors include
no shipping solutions between origin and destination. When I manually check
on the UPS site, they resolve without problems
View Replies
View Related
I have a way to get all the pdf files listed on my server, but now comes the real challenge: finding text within the files without, that's right without opening them in the browser. anyone heard of or know a way that you can have the server look through the pdfs?
View Replies
View Related
I am used to Compilers. assemblers and a lot of other systems that at least give error numbers or some help in identifying and/or isolating syntax errors, undefined or multiply defined variables, etc etc.
When I make an error in an ASP program I only get a message saying that the program could not be executed.Can anyone recommend some good debugging tools or maybe an ASP code checker.
View Replies
View Related
what value range for this code?
set objTools=server.CreateObject("MSWC.Tools")
Response.write objtools.Random()
I executed code several times but couldnt figure out the value range and logic.Reason for asking is we are moving to windows 2003 server and now v need to change above code from our site.
View Replies
View Related
Allowing download of file types that will display in a browser is no problem, but how about files types that don't display? I would like my clients to be able to click on a link that will start a download or any type of file.
Try searching on "download"! Of course this has to be server side - I can't expect my clients to have to install something at there end.
View Replies
View Related
Has anybody used the UPS tools for calculating shipping and if so how did they go about it? I have seen the articles on 4guysfromrolla but that appears to be using xml component to get the data from the ups site rather than using the developers tools provided by UPS.
I am just not sure the best way to go about this. Anybody with experience using this who could give me some pointers would be greatly appreciated. On their site if you dont sign up then you dont get any specs on the tools other then the standard ad crap. I have also seen some components that want to charge for this apparently free service so thats not something I am interested in. I would also be interested in info about the USPS and FedEx too but found no similar tools on their sites.
View Replies
View Related
I'm nearing the end of my site development (currently ASP and Access
moving to SQL) and am looking for site testing tools...
In particular looking for load testing and concurrent connection analysis to
see where site might be heavy or pages leave connections open!
Can anyone recommend good testing software that can give information on the
above...
View Replies
View Related
Has anyone used the UPS e-tools such as address verification and rate selection service? I'm trying to implement it on our site and I would just about kill to see some source code. It's a little above my coding level and I just can't seem to figure it out.
The documentation goes into a VB sample, but I dont think that is necessary since you can perform an HTTP POST and parse XML in an ASP page.
View Replies
View Related
I would love a tool which can be run when testing a classic ASP app which
records what code has been executed. I have a problem I have to find
occurances of through thousands of thousands of lines of code. This would
help speed the task. Anyone know of such an animal? I am kind of google
impaired. I was unable to find the lyrics to rolly polly fishhead one time
and my DH found it in 10 seconds.
View Replies
View Related
moved an ASP application from a Windows 2000 to a Windows 2003 server I'm using MSWC.Tools to validate the existence of some files I got the next error
Server object error 'ASP 0177 : 800401f3'
Server.CreateObject Failed
View Replies
View Related
I am trying to integrate UPS's Online Tools into my classic ASP project. Does anyone have some examples of this that I could look at? I am specifically looking for information on the "Rates and Service Selection" tool.
View Replies
View Related
any examples of querying UPS Online services (XML) especially Time in Transit and Rate Selection using ASP.
View Replies
View Related
i was wondering if there are any tools or programs out there that
can clean up your asp code like realign and make it more readable and
if there is can i have some recognitions please.
View Replies
View Related
From where i can download MSWC.Tools and IISSample.PageCounter Components for Windows 2003 Server.
View Replies
View Related
Hi people, I currently have a website and the asp pages include the following line:
"Set Tools = Server.CreateObject("MSWC.Tools")"
My site is hosted on Windows 2000 server.
The hosting company has offered me a new deal but on Windows 2003 servers, I took them up on this but found that my asp pages did not function as these servers do not have the Internet Information Server (IIS) Resource Kit installed on them. I found this out by
looking at http://support.microsoft.com/kb/q249290/.
As I am not the original creator of the asp pages and have no knowledge of asp, can anyone help me fix this problem where my asp pages will function correctly on the Windows 2003 server?
View Replies
View Related
anyone have an example of using insertion point of data with MSWC.Tools ?
e.g. how can I send data to a "div" tag ?
Set oTools = Server.CreateObject("MSWC.Tools" )
oTools.processForm "output.asp", "template.asp", "<div>"
View Replies
View Related
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
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
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