title: What 'quota' is being referred to in this exception message: Not enough quota is available to process this command
body: <p>I have a .NET application that throws the following exception:</p>
  
  <pre><code>System.ComponentModel.Win32Exception : Not enough quota is available to process this command 
     at MS.Win32.UnsafeNativeMethods.PostMessage(HandleRef hwnd, Int32 msg, IntPtr wparam, IntPtr lparam) 
     at MS.Win32.ManagedWndProcTracker.HookUpDefWindowProc(IntPtr hwnd) 
     at MS.Win32.ManagedWndProcTracker.OnAppDomainProcessExit() 
     at MS.Win32.ManagedWndProcTracker.ManagedWndProcTrackerShutDownListener.OnShutDown(Object target) 
     at MS.Internal.ShutDownListener.HandleShutDown(Object sender, EventArgs e)
  </code></pre>
  
  <p>I can't reproduce this exception personally, but I get lots of exception reports from users. </p>
  
  <p>What is the 'quota' being referred to?  The stack trace leads me to believe that it might be a problem with the Windows message queue.</p>
  
  <p>Any ideas about what might cause this error, or how to fix it would be greatly appreciated.</p>
  
  <p><strong>EDIT, further info:</strong>  This is on 32 bit Windows XP on all machines, and the exception is not in <em>my</em> code as such, but a .NET Framework event handler of some sort.  The application itself does not make any PostMessage calls.</p>