12-22-2013 10:50 AM
12-23-2013 05:28 AM
You need to profile your app...
Run a profiled build of your app, run through all its functionality and then analyse the profile information.
If it only happens every now and then then always run the profile enabled build and next time it happens analyse the results.
Do you have any idea when it happens, i.e. in a network load, intensive graphics session, do you use threading or shared resources? These things can usually be logically assessed and the areas narrowed down with just understanding of your own code and looking at the areas mentioned.