Jump to content
  • Advertisement
Sign in to follow this  

[.net] Application.Run out of memory?

This topic is 4719 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm making a windows form program in C#, an WYSIWYG map editor for a DirectX game, so one of its aspects is a user control that shows a DirectX display. It's been working fine for a while, but suddenly everything is messed up: Application.Run now throws a System.OutOfMemoryException (it isn't actually out of memory, I have a ton of free RAM). If I don't call my DX control's Init() method, which just sets up a device, there's no exception. I wish I could roll back my code to see what went wrong, but foolishly I closed VS .NET before I could try that. Anybody know what might be wrong? Edit: It seems like .NET just decided it didn't like me docking my control. Why it didn't complain until now, I don't know, seems like rather unusual behavior to me...a bug maybe? I'm starting to think Windows Form Designer would be a huge time saver if not for stuff like this :P [Edited by - _Flecko on June 19, 2005 1:21:03 AM]

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
what's the callstack when you run under the debugger and hit the exeption?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!