I have a page that is refreshed on an ajax timer which contains several Chtml::Button objects. I am seeing steady memory growth at each refresh cycle. If I remove these, the memory growth stops. How are controls, such as these best refreshed without the memory leakage??
It appears it is related to using a background bitmap for the button. The resource is never released. If I use a standard button html definition, the leak is no longer there. It also appears that CTreeView exhibits the same issue. I am tracking that down also.