GT500Shlby Posted July 11, 2003 Posted July 11, 2003 I am designing an automated form in VB.NET. On windows XP, I want to generate a memory exception to test how the program will handle it. Also, I wan't to have the program run under extreme memory circumstances and see if it generates an exception. Is this possible at all? Quote
*Gurus* divil Posted July 11, 2003 *Gurus* Posted July 11, 2003 Throw New OutOfMemoryException() That's how to generate the exception, if you're talking about actually bringing your system to its knees with excess memory consumption, I don't know what to suggest apart from writing a program that uses progressively more and more of it without releasing any. Quote MVP, Visual Developer - .NET Now you see why evil will always triumph - because good is dumb. My free .NET Windows Forms Controls and Articles
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.