Skip to main content
gamedev.net
🔒 Locked

Managed Drag...

Started by TheJakub 2 replies 600+ views
Original Post
TheJakub
TheJakub
I''m working on a little project in DirectX Managed using C#. I have a main MDI Form with windowed 3D views. The application seems to work fine for some time. But, if I let the app run for about 2 minutes or longer, the entire program starts to drag. This gets worse as times goes by. I create the D3D device how it should be and I manage my vertex buffers and swapchains well. If anyone has run into similar problems or knows of a way I can fix this, I would be very grateful.
PlayGGY
PlayGGY
Woah... a memory leak in Managed DirectX(!)?

Sorry, I only use unmanaged DirectX, but I guess this will be a bump for this thread.
And the rockets' red glare, the bombs bursting in air,gave proof through the fight that our flag was still there.Oh say, does that star-spangled banner yet waveover the land of the free and the home of the brave?
Apoztel
Apoztel
You are doing something wrong Perhaps creating objects faster than they are collected. Don''t create new ones inside loops.
Arild Fines
Arild Fines
Maybe you should try running the Allocation Profiler on your app: http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=36a3e666-6877-4c26-b62d-bfd7cb3154ac

--
AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.
[Project site] [Blog] [RSS] [Browse the source] [IRC channel]
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.