memory leak

  • Thread starter Thread starter Willie Neumann
  • Start date Start date
W

Willie Neumann

We have developed an app for embedded and are having the
following problem. Our app plays video for extended
periods of time using directx 9. We have found that if
we run our app on XP Pro, it essentially runs forever.
However, when we run it under embedded sp 1, after about
10 hours the machine locks up. I have looked at all the
components in my build and don't see anything missing
that deals with memory management.

If anyone has any pointers on this one, we could use the
help. We are using Visual Studio c++
 
Since DX9 hasn't been componentized yet, is it possible there is some
missing dependency causing the app to leak?

--
Andy

This posting is provided "AS IS" with no warranties, and confers no
rights.
=====================================================
 
We have developed an app for embedded and are having the
following problem. Our app plays video for extended
periods of time using directx 9. We have found that if
we run our app on XP Pro, it essentially runs forever.
However, when we run it under embedded sp 1, after about
10 hours the machine locks up. I have looked at all the
components in my build and don't see anything missing
that deals with memory management.

If anyone has any pointers on this one, we could use the
help. We are using Visual Studio c++

Do you really need (use) DirectX 9? You are using it for 3D advanced
graphics, right?


Or you are using 2D in this case you are probably using DirectDraw latest
version is 7 :(
Or maybe Direct Show for live video.

Monitor your app to see memory usage from your process on XPE and XP
platform.
If process size does not increase then check other components because this
probably is not caused by directx.
Also try to see mem allocation for all processes. Maybe you will see guilty
party on first look.

Most of directdraw and direct3d processing take place in kernel mode so you
could have problems to see memory leaks if there are some.
I think (don't know for certain) that if you are missing some settings you
would not have required functionality, not memory leaks.

Go one step at a time and check all that you can.
 
Back
Top