We noticed that with a custom Ax form around 1500-2000 user objects are reserved. The end user will often open this form multiple times and quickly run against the user object limit. (too many form are open...)
I started looking with SysInternal tools, GDIViewer and Bear what may cause this form to use to many resources. From my search, I conclude that most handles are spend on Virtual Memory Private, Virtual Memory Image and Fonts.
Now, I ran kinda stuck. I was hoping to find a clue on which form control(s) are requesting all these resources. But I can't seem to link the user object handles to a form control or object.
My question: How does one identify which Ax form controls and User objects handles are associated? If not possible, how can one debug/track/view/trace which form elements generate the most handles?
<?xml version="1.0" encoding="UTF-8"?>
<root>
<obj>
<type>Brush</type>
<count>276</count>
</obj>
<obj>
<type>Font</type>
<count>1762</count>
</obj>
<obj>
<type>Region</type>
<count>47</count>
</obj>
<obj>
<type>Bitmap</type>
<count>82</count>
</obj>
<obj>
<type>DC</type>
<count>78</count>
</obj>
<obj>
<type>Palette</type>
<count>2</count>
</obj>
<obj>
<type>Virtual Memory Shared</type>
<count>69</count>
</obj>
<obj>
<type>Virtual Memory Private</type>
<count>3020</count>
</obj>
<obj>
<type>Virtual Memory Mapped</type>
<count>34</count>
</obj>
<obj>
<type>Virtual Memory Image</type>
<count>2424</count>
</obj>
</root>