Hi Guys,
We have been trying to debug a memory leak which only occurs on fresh-install Windows 8 machine and is not present in Windows 7 or in Windows 8 which has been upgraded from Windows 7 (not confirmed, but the one upgraded from Windows 7 doesn't have the problem). The memory leak occurs whenever a user closes out of an Infragistics.Controls.Interactions.xamDialogWindow and the process grows by around 5-10mb every time until it is over 1GB of total memory (after which it usually crashes).
Using ANTS Memory Profiler we found that the Infragistics.Controls.Editors will grow by around 6,000,000 bytes between snapshots. I took a snapshot between every close/open of a xamDialogWindow.The xamDialogWindow contains children controls such as xamGrids, TextEdit, etc and prior to Windows 8 the controls & parent form were being disposed correctly.
The weird thing is that it does not occur on any Windows/iOS OS other than Windows 8. We thought maybe it was a IE 10 issue, but using the same version of Firefox/Chrome/Safari as the Windows 7 machine gave the same results. Hardware wise, there isn't much at all different between the Windows 8 machine and the Windows 7 machine.
I have attached a picture of the ANTS Profiler result summary if it helps.
Does anyone have any ideas? Any feedback would be greatly appreciated! Thanks.
Cheers,
Maitland
HI,
I was unable to rprduce this issue with build 12.2.2026.
Can you provide a small isolated sample that replicates this issue?
Sincerely, Matt Developer Support Engineer
Hi Matt,
Thank you for the reply. I have attached a cut down project which has the same issue: on a Windows 7 Machine it maintains its memory usage, disposing correctly and when required. But on the Windows 8 machine with an ATI Graphic card (I believe it does not occur on Windows 8 Nvidia, driver issue?) it will continue to lose memory.
In order for you to reproduce this, if you could close out of the one XamDialogWindow which appears in the upper left corner of the screen. You will notice the window will immediately load again. Continuing closing it over and over while watching iexplorer.exe's memory consumption. It will go up quite rapidly on Windows 8, but will maintain itself on Windows 7.
Thanks again for your reply.
We have tried upgrading the AMD Raedon HD 7xxx series drivers but the still issue persists. Would you have any other suggestions that I could try out, even if unlikely to help? It's odd that it only occurs on Windows 8 AMD Raedon PCs.
Though one other common denominator I have noticed so far (which may just be coincidence) is it will only occur on Windows 8 AMD Workstations (Monitor & Tower merged into one unit). I will get the exact model of the PC tomorrow morning if it will help out at all.
Again, thanks for all your help.
Cheers,Maitland
If it is only occurring on a certain type of pc, it might be due to some utility software that is running on those types of machine.
I would fine out what processes are running on those machines and compare that with computers where things are running well.
Sincerely,
Matt
Developer Support Engineer
Thanks for the advice. I believe I have found the main cause of the memory leak - when I disable the Touch Keyboard and Handwriting Panel service the problem disappears. I also found the leak would only be prominent in Internet Explorer 10. But I am unsure how I should approach this and what steps I need to take to resolve the problem. Is this something I should bring up with Infragistics or Microsoft?
Your help was fantastic Matt, thank you for your time and patience.
HI Calsy,
I passed this information on to our developers. You should contact Microsoft and the computers manufacturers.
Matt Developer Support Engineer
Please let me know if you need further assistance.
Sincerley, Matt Developer Support Engineer