Home » Community » U++ community news and announcements » 2024rc1
Re: 2024rc1 [message #60884 is a reply to message #60879] |
Mon, 30 September 2024 12:01   |
 |
mirek
Messages: 14261 Registered: November 2005
|
Ultimate Member |
|
|
mirek wrote on Sun, 29 September 2024 23:14Tom1 wrote on Sun, 29 September 2024 22:02mirek wrote on Sun, 29 September 2024 21:55
Teste with CLANG, CLANGx64 and MSBT 64, problem not reproduced. Perhaps needs more instructions to reproduce?
Hi Mirek,
Do you mean that your MemoryUsedKb value did not keep climbing through all the five runs???
First, this is not a normal memory leak catched with debugger. This happens on Windows 11 Professional with all compilers: CLANG, CLANGx64, MSBT22, MSBT22x64. The MemoryUsedKb starts out at around 1200 kB on first start, and then keeps gradually rising up to about 20000.. 30000 kB when the fifth run is complete... and more if we let it run longer with higher values of x.
Best regards,
Tom
Reproduced: It is a problem of dark mode emulation. I was trying with normal mode first...
It is quite obvious - various variants of progress bar are drawn in normal mode, then converted to DarkTheme and the result is cached.
You can adjust maximum size of cache with
GUI_APP_MAIN
{
SetupValueCache(2000, 1);
for(int x=0;x<5;x++){
and it stops increasing the memory.
So I do not think this is a problem nor a bug - it is just using general caching mechanism where it is good to cache results for performance reasons.
Mirek
Upon further reflectio I decided that caching progress causes is just trashing the cache, so optimised that out (with the advantage that the result is now actually faster in Win32).
The only downside is that now I have to think whether to apply the similar treatment to scrollbar thumbs... But probably not.
Mirek
|
|
|
 |
|
2024rc1
By: mirek on Sat, 28 September 2024 09:16
|
 |
|
Re: 2024rc1
By: Tom1 on Sat, 28 September 2024 18:36
|
 |
|
Re: 2024rc1
By: JeyCi on Sat, 28 September 2024 19:21
|
 |
|
Re: 2024rc1
By: mirek on Sun, 29 September 2024 20:51
|
 |
|
Re: 2024rc1
By: Didier on Sat, 28 September 2024 20:50
|
 |
|
Re: 2024rc1
By: Tom1 on Sat, 28 September 2024 22:55
|
 |
|
Re: 2024rc1
By: mirek on Sun, 29 September 2024 20:55
|
 |
|
Re: 2024rc1
By: Tom1 on Sun, 29 September 2024 22:02
|
 |
|
Re: 2024rc1
By: mirek on Sun, 29 September 2024 23:14
|
 |
|
Re: 2024rc1
By: Lance on Mon, 30 September 2024 01:02
|
 |
|
Re: 2024rc1
By: mirek on Mon, 30 September 2024 12:01
|
 |
|
Re: 2024rc1
By: Tom1 on Mon, 30 September 2024 12:06
|
 |
|
Re: 2024rc1
By: Tom1 on Mon, 30 September 2024 15:37
|
 |
|
Re: 2024rc1
By: Lance on Sat, 12 October 2024 17:31
|
 |
|
Re: 2024rc1
By: Lance on Sat, 12 October 2024 20:20
|
 |
|
Re: 2024rc1
By: Lance on Sun, 13 October 2024 06:10
|
 |
|
Re: 2024rc1
By: mirek on Sun, 13 October 2024 07:52
|
 |
|
Re: 2024rc1
By: Lance on Sun, 13 October 2024 13:28
|
 |
|
Re: 2024rc1
By: mirek on Sun, 13 October 2024 13:55
|
 |
|
Re: 2024rc1
By: Lance on Sun, 13 October 2024 14:20
|
 |
|
Re: 2024rc1
By: mirek on Sun, 13 October 2024 13:58
|
 |
 |
Re: 2024rc1
By: Lance on Sun, 13 October 2024 14:23
|
 |
|
Re: 2024rc1
By: mirek on Mon, 14 October 2024 16:17
|
 |
|
Re: 2024rc1
By: Lance on Mon, 14 October 2024 17:09
|
 |
|
Re: 2024rc1
By: mirek on Tue, 15 October 2024 07:40
|
 |
|
Re: 2024rc1
By: mirek on Mon, 14 October 2024 16:13
|
 |
|
Re: 2024rc1
By: Lance on Mon, 14 October 2024 16:23
|
 |
|
Re: 2024rc1
By: mirek on Mon, 14 October 2024 16:42
|
 |
|
Re: 2024rc1
By: Lance on Mon, 14 October 2024 17:21
|
 |
|
Re: 2024rc1
By: mirek on Tue, 15 October 2024 13:31
|
 |
|
Re: 2024rc1
By: Lance on Tue, 15 October 2024 15:18
|
 |
|
Re: 2024rc1
By: mirek on Thu, 17 October 2024 10:47
|
 |
|
Re: 2024rc1
By: Lance on Thu, 17 October 2024 21:01
|
 |
|
Re: 2024rc1
By: Lance on Mon, 21 October 2024 02:11
|
 |
|
Re: 2024rc1
By: Lance on Mon, 21 October 2024 02:27
|
 |
|
Re: 2024rc1
By: mirek on Mon, 21 October 2024 09:05
|
 |
|
Re: 2024rc1
By: Lance on Mon, 21 October 2024 12:55
|
 |
|
Re: 2024rc1
By: Lance on Mon, 21 October 2024 13:01
|
 |
|
Re: 2024rc1
By: mirek on Mon, 21 October 2024 13:21
|
 |
|
Re: 2024rc1
By: mirek on Mon, 21 October 2024 14:45
|
 |
|
Re: 2024rc1
By: Lance on Mon, 21 October 2024 18:12
|
 |
|
Re: 2024rc1
By: Lance on Wed, 16 October 2024 00:11
|
 |
|
Re: 2024rc1
By: mirek on Wed, 16 October 2024 11:30
|
 |
 |
Re: 2024rc1
By: Lance on Wed, 16 October 2024 15:18
|
 |
|
Re: 2024rc1
By: Oblivion on Sun, 13 October 2024 09:53
|
 |
|
Re: 2024rc1
By: mirek on Mon, 14 October 2024 15:36
|
Goto Forum:
Current Time: Sun Jun 08 17:43:44 CEST 2025
Total time taken to generate the page: 0.04602 seconds
|