Memory Leak Only When Compiled In Release Mode

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


ADVERTISEMENT

Page Cannot Be Displayed In Release Mode

I am pretty new to asp.net, and have recently taken over a project. I have
gotten to the point where I am about to release my changes, but for some
reason when i build the project in release mode and launch in in IE I always
get a "The Page cannot be displayed" page instead of my login form.

Anyone have any ideas? The applciation works fine in debug mode, its just in
release mode that this happens.

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

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

Memory Leak In ASP With ADOMD

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

Memory Leak In Script?

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

Server Memory Leak

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

Memory Leak :: How To Debug?

Anyone have any insights on how to debug a memory leak with a classic asp application?

View Replies View Related

Memory Leak W2k, ASP Process List?

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

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 View Related

Memory Leak :: Site Hanging

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

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

Memory Leak? Private Bytes/Virtual Bytes

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

Compiled

I want to pay a monthly fee to a hosting company to host my ASP application. I have some propriety designs in my ASP application which I'm reluctant to expose the source code. Unfortunately, with ASP, it's all source code.

Is there a way to "compile" my ASP application so that when I upload the application to the hosting company, my propriety work will remain unrevealed? Second question, if I update my ASP applcation to ASP.NET, would there be a way to compile the ASP.NET code so that I will only need to publish the "compiled" version to the hosting company server (thereby protecting my source code from being revealed)?

View Replies View Related

IIS Not Release DLL

I use vb create a DLL compoment(SessionManger.dll) which is used in ASP page.

in ASP page(test.asp) code:
<%@ Language=VBScript %>
<%response.buffer = true%>
<%
dim Session
set Session = server.CreateObject("SessionMgr.Session2")
Session("UserName")="gc"
......

Set Session=Nothing
%>

In IE, when launch test.asp ,and after a while close it, I founld SessionManger.dll file is still being in the memory, and have to restart IIS.

View Replies View Related

Time Release Code

How can I made time released ASP code? I want to make section of code viewable after a certain date. Something to this effect, but this does not work right:

if now() >= "6/24/2005" then
Response.Write ( "here is my new html" )
else
Response.Write ( "for now just show the current information" )
end if

View Replies View Related

How To Release The Readonly In Access MDB

i am facing the following error when i am going to access the msaccess97 database through ASP in XP.

The Microsoft Jet database engine cannot open the file 'c:exams.mdb'. It is already opened exclusively by another user, or you need permission to view its data.

but there is no readonly attribute is unset in the database file. what can i do?

View Replies View Related

Setting Up MSDE 2000 Release A On Windows XP Professional

I recently downloaded and installed (hopefully correctly) MSDE 2000 Release
A. I previously, and still do, have the version of IIS that comes with XP
Professional installed on my computer. I wanted MSDE 2000 Release A so that
I could do database access using ASP from my websites, which are on my
computer. When I went to my first test website, I recieved the following
error:

Error Type:

Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver]Neither DSN nor SERVER keyword supplied
/testDB.asp, line 26

The ASP code that I used on my web to connect to the database (which is
currently just an empty text file) is the following: Code:

View Replies View Related

Set The Authentication Mode

I found some code on the Internet that I have modified for my needs and it works nicely from a localhost, but not when it is sitting on our intranet server.I believe the reason is that the instruction

<authentication mode="Windows" />

is missing.

In asp.net I would put this instruction in web.config, but since the code is in an earlier version of asp (the code is at http://www.hypergurl.com/verticaltext.html) I don't know how to include it.

View Replies View Related

Background Mode

I have done a CMS system and if I could do something in background mode,for example, send a newsletter.I don't want to wait until the page loads completely.I'm creating a mail object for each record of my newsletter suscriptors,I don't know if it would be better to use bcc with all records.

View Replies View Related

Module Mode

Is it possible to make message box or input box in Classic ASP in Modal mode ? At least accordingly to parent window?

View Replies View Related

In Debug Mode Page

I am running an ASP application from within VS .NET 2003. When I run, the files are put in readonly mode, even thought its only an ASP page. Is there a way to edit the ASP (not ASP.NET) page (not in the middle of debugging ofcourse) without quitting debug mode

View Replies View Related

My Exe Is Running In Silent Mode

i tried to open an exe through a shortcut from an ASP page. although the exe shows in the task manager i cant see its UI.can anyone help me with it. i used the following code

cmdExe = "D:DevWalkwire est.exe"
Set WshShell = Server.CreateObject("WScript.Shell")
WshShell.Run (/c cmdExe)
Set WshShell = Nothing

View Replies View Related

Ie Not Visible In Debug Mode

i have searched through a ton of past posts in an effort to find the
answer to my problem but so far have come up with nothing.
The problem I am experiencing is with VS6, visual interdev on windows
2000, with IIS.

When ever i attempt to debug my asp web app the debugger will step into
the code and will start an Iexplore.exe process, but not actually make
internet explorer visible.

Does anyone know any way round this I have spent loads of time trying
to sort it already.

View Replies View Related

Table Design In Edit Mode

I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in.see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it ....

View Replies View Related

Upload Files In Offlline Mode

I'm developing a web site and i need to make adminisration for this site it's a site for Real Estates . But I don't need the administration to be online . I want them to fill data and images offline and then send them online.

but i have a problem regarding the images i want it to be sent to the web site So i want if there is a possible way to fill data offline and this will put it in offline database then on browsing images it'll be sent online and at the same time put on their location i adjusted offline . So how can i put Images at a desired location Offline and at the same time upload them online .

View Replies View Related

Get Data From Previous Page And Display It As Before But With Disabled Mode.

how can i get the data submitted by the previous form using " for each x in Request.Form " and display them same as the the previous form before and the only different is tat this time the all the data in this form is being disabled. (the data may consists from text box, combo box, radio button, etc.) . just wondering is there any way to perfrom like this..

View Replies View Related

Table Design In Edit Mode,weekly Timesheet

I need to create dynamicly an ouput table that users can edit their hours and cost center. Each day have maximum 2 entries for week if they have one entry per week, then the design table will have an empty text box for users to enter in....

Please see the attached outline to show the weekly timesheet in edit mode. Below is the query I am using it. Code:

View Replies View Related

MS Visual Interdev 6 - Search Mode With Results Explorer?

When searching through code in Vis. Interdev 6, when in the Find
dialog, it listed the results in the results pane below. The cursor
didn't change position to the next found item until you clicked on a
line in the results.

This is actually a nice feature that I haven't seen before -
all the matches show up at once in a list,
with a column containing the text for the line the string was found
in, so you can quickly see the context of the match.

Anyway, the first couple times I used CTRL-F, I saw a results pane.
Then I must have changed something without realizing,
because now when you search, no results appear in the results pane,
but the cursor moves in the editor window. This is the behavior I am
used to with Vis Studio 6, but I would prefer to turn the results
pane back on.

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

IE Memory Profiler

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

View Replies View Related







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