-
problems with aspnet_wp memory usage
Hello all,
I have an ASP.NET application that generate pdf files.
I'm having problems with the "aspnet_wp", even when not generating the pdf files (the application generates a 700Kb pdf files), just while navigating into the website, the "aspnet_wp" start growing and growing but never releases the memory until I get an "out of memory" error.
The application was developed in .NET 2003, with Framework 1.1, C# and the component that generates the pdf files.
The strange thing is that the COM component i'm using, does not contain a "dispose statement", do you know a better way to destroy a COM component that does not have a dispose method ?
I am using this line of code to destroy the pdf generator object
System.Runtime.InteropServices.Marshal.ReleaseComObject(ObjectName);
I read that this could be a problem of the Framework 1.1 that has this kind of problem, but I read too that installing the Service Pack 1 for Framework 1.1 the problem could be solved.
I've installed the SP1, but I didn't see any difference.
Does anybody know how can I solve the problem of memory leak from my website ?
Thank you all
-
What development tool was used to create/build the COM component? If this is an ActiveX DLL then you may want to consider running it as a configured component (under COM+).
Paul
~~~~
Microsoft MVP (Visual Basic)
-
problems with aspnet_wp memory usage
Hi Paul,
Thank you for the advice, I will try it.
I would like to improve my coding, so I would like to know if you know about a good (and free if possible) tool that would help me analyzing my code to check where it can execute hight memory consuption code ?
Thank you for your help
-
I'm afraid I can't suggest anything. I don't know of anything free and there isn't any product that I use to do this.
Paul
~~~~
Microsoft MVP (Visual Basic)
Similar Threads
-
By Michael in forum ASP.NET
Replies: 0
Last Post: 03-22-2006, 01:37 PM
-
By mikesena in forum VB Classic
Replies: 1
Last Post: 12-16-2005, 05:00 PM
-
Replies: 5
Last Post: 08-12-2005, 08:19 AM
-
By James Knowles in forum .NET
Replies: 1
Last Post: 09-06-2002, 06:03 AM
-
Replies: 0
Last Post: 11-02-2001, 04:22 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks