Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 16th, 2004, 01:38 AM
Registered User
 
Join Date: Nov 2004
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default CPU Usage Optimisation

Hi,
From my ASP.NEt page, I'm using Crystal Report as my reporting tool. When i select a page and save as PDF, the Crystal report generates the reports and stores in PDF format. My code take care of this conversion from RPT file to PDF file.
This entire process will handle in new browser and it takes some 45 sec to complete. After 15 sec of starting the action i have closed the new browser and if i try to click any link in old page, its not functioning.
When i see the CPU usage, the process memory still processing the data and keep on increasing.
Is there any way to stop the process when i close the new browser.

Regds
A.Vijaya Babu
 
Old January 21st, 2005, 07:28 AM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

Once the web server receives the request it will process it until complete. I do believe there is a way to check if the browser is still connected during the processing of the request. If your process is looping thru something intensive it might be possible to check this state and drop out of the loop if you detect that the browser has disconnected.

-Peter





Similar Threads
Thread Thread Starter Forum Replies Last Post
High Cpu usage Cruz_240sx Classic ASP Components 2 March 20th, 2007 06:42 AM
Query Optimisation artidatanova SQL Server 2000 1 April 4th, 2005 08:42 PM
Optimising CPU Usage avbabu BOOK: Professional Crystal Reports for VS.NET 0 December 15th, 2004 07:23 AM
100% CPU Usage anioak VS.NET 2002/2003 0 November 16th, 2004 08:47 AM
ASP Components: 100%CPU usage and System shutdown Palani Classic ASP Components 2 September 21st, 2003 05:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.