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 » Community » U++ community news and announcements » Core 2019
Re: Core 2019 [message #51844 is a reply to message #51840] Sun, 09 June 2019 16:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 12050
Registered: November 2005
Ultimate Member
Novo wrote on Sun, 09 June 2019 15:20
mirek wrote on Sun, 09 June 2019 04:03
Novo wrote on Sat, 08 June 2019 21:54
mirek wrote on Sat, 08 June 2019 12:31

We can test this. In HeapImp.h, there is HPAGE constant. This is the size of "master chunk" (in 4KB units) and also maximum size of block that allocator keeps for reuse. Try to change that to something smaller, like 256 and retest...

Mirek

In case of HPAGE = 256 it is starting to use tens of gigabytes in just a few seconds ...


Now that is an excelent clue Smile

Found and fixed a bug (stupid one really). Can you test now please?

Mirek


HPAGE = 256
ram: 308 Mb, time: 253 s.


OK, at least the bug was fixed... Smile

Quote:


HPAGE = 7 * 8192
ram: 714 Mb, time: 232 s.

StdAlloc still remains the best choice for MT ...


Can you try some other value, like 4096 or 8192...

Anyway, maybe this is really only misinterpreted reporting. The idea was that if I allocate a lot of address space, it is not really in physical memory unless written to.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ide: Assist / Display/apply patch
Next Topic: ide: pkg_config support
Goto Forum:
  


Current Time: Fri Oct 18 18:50:08 CEST 2019

Total time taken to generate the page: 0.01627 seconds