Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridControl release memory (GridCtrl unable to reset memory usage)
Re: GridControl release memory [message #49062 is a reply to message #49061] Mon, 11 December 2017 09:43 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
If this is within single application run and if you deduce those 400MB from e.g. task manager, then the behaviour is as expected and it is a feature of memory allocator - it retains the memory allocated from the system to boost the performance.

I believe such behaviour is pretty standard for all malloc/new implementations, not U++ specific.

In U++, we have planned MemoryShrink function that is supposed to release as much memory as possible back to the system, but it is not really developed yet and pressure to do it is low. (The real reason why it is not yet developed is that Win32 has hard limit on number of memory commit blocks which is not quite compatible with what we need).
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl
Next Topic: SOLVED: Array and Grid on high definition monitor
Goto Forum:
  


Current Time: Thu Aug 21 13:12:36 CEST 2025

Total time taken to generate the page: 0.04862 seconds