title: Heavy Load Application Freezes
body: <p>We have a Client-server C# application which freezes when we create 1000 and more kind of objects in UI by using some scripts rather than creating it in UI individually.</p>
  
  <p>We are using lot of event handlers for certain event, but as per my understanding all threads(UI and background) and event handlers are managing properly. Then also our client application freezes. We dont know what the exact reason behind it .
   Peak time hanging application took around 16 threads.  Task Manager reports it taking more than 90% CPU time.</p>
  
  <p>Can any body tell me the reason behind it</p>
  
  <pre><code>   [STAThread]
      static void Main()
      {
          try
          {
              Application.EnableVisualStyles();
              Application.SetCompatibleTextRenderingDefault(false);
              Application.DoEvents();
              Application.Run(new Test());
          }
  </code></pre>
  
  <p><strong>UPDATE</strong></p>
  
  <p>How can i applay lazy loading to Treeview,Listview,and propertygrid.I have used beginupdate,endupdate,double buffering,other than these any methods??</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>what does high CPU utilization means, my application exe is hanging with 13 threads and some place i heard that if you use <code>ThreadPriority.Lowest</code> it will reduce CPU utilization, will it work still i dont know where to use it properly??</p>