New Ranks & Badges For The Community!
Notice something different? The ranks and associated badges have gone "Star Fleet". See what they all mean HERE
Absent Member.
Absent Member.

How to clear memory cache in WPF application

   Hi All,

We have WPF application and there is scrollbar. We scroll and find the dynamic element(WPFListViewItem)

WPFListView(parent) and WPFListViewItem (child objects)

Using Exists method I scroll till I dont find element and everything works fine as long as scroll is vertically down but after scrolling vertically down I again need to scroll up to find second element I face issue. My code is stuck on below line and does not move forward.

Some time application stops responding and after some time becomes fine.  


How to handle this?

I think I need to clear memory cache once I scroll down and need to scroll up. 

Any idea how to clear memory cache?

Is this the issue or something else ?



0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.