'System.OutOfMemoryException' was thrown
While Compiling the WPF Application for many times in a day it give following error
'Exception of type 'System.Out开发者_如何学JAVAOfMemoryException' was thrown.'
Can anyone know why this error occured and how to remove that error.
But if visual studio is restarted then there is no such problem.
thanks in advance
It could be that your compiler has a memory leak, or that a plugin of your compiler has a memory leak.
There is not your fault, though. It's most probably your compiler's fault. You are encouraged to reproduce the problem and send it to your compiler vendor for a detail investigation.
This happens to me frequently with visual studio 2008. I just assume there's a memory leak somewhere due to poor coding on Microsoft's part. Whenever i see this error I close down and reopen visual studio and it compiles without a hitch.
It sounds like you are saying that after compiling a WPF application many times in Visual Studio you receive an OutOfMemoryException
error. Can you elaborate further on where exactly this error shows up?
- In the Designer
- In the output window
- etc ...
It's possible that there is a bug in either a 3rd party hosted control on the designer or in Visual Studio itself. If you are not using any 3rd party controls then I encourage you to file a bug on connect for the issue.
- http://connect.microsoft.com
Is your machine up to the minimum specification for developing WPF applications
精彩评论