aspnet_wp.exe cpu utilization 100%
-
We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan
-
We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan
I guess 420 HTML Controls means 420 Server Controls (label, datagrid, button etc) In that case you should really take a look at caching! Rendering 420 Server controls uses cpu! Split the page in several usercontrols if you need to partial cache tha page. Maybe you could post some code?
--------------- serverside.no
-
We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan
HI There are many causes that leads to high memory usage and CPU conspumtion. First of all it depends on your approach . Do we need to have server side validation even we can do it at client side ? You are using 420 html controls in one page ? i think you should divide them by making different controls ....... Can you tell What exatly are you doing ? Any bussiness logic ? Are you using COM component ? Are you closing all the instances ? Many more
Thanks and Regards Sandeep If If you look at what you do not have in life, you don't have anything, If you look at what you have in life, you have everything... "
-
We have an asp.net(Framework 1.1,VB.NET) application hosted on the developer PC itself. Windows XP Professional 512 MB RAM Pentium 4 2.4 GHZ We built the project in release mode and the web.config also having debug mode set to false In one screen, around 420 HTML Controls are built with some styles(based upon some validations). The validataions goes into a loop calling methods at multiple levels. Even for a single user(I mean localhost), the performance of the processor(CPU Usage) goes to 100% and comes down. What are the things that need to be checked and what are the measures we can take I searched google and got many links. I think I can get better answers from this forum Thanks, K.P.Kannan