Largest free block parameter

delphi package - automated exception handling
Post Reply
Beeze
Posts: 1
Joined: Mon Nov 09, 2020 10:06 am

Largest free block parameter

Post by Beeze »

Good day! The question is, how is this parameter calculated? One-time after starting or when registering an exception? Does it describe the maximum free block of unfragmented memory?
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Largest free block parameter

Post by madshi »

It's recalculated every time a bug report is created. And yes, it lists the largest free block of unfragmented memory.
erwind
Posts: 4
Joined: Thu Jun 25, 2020 7:34 pm

Re: Largest free block parameter

Post by erwind »

Mine shows rather awkward values for the largest free block:

largest free block : 131021.93 GB

date/time : 2020-11-14, 11:37:40, 740ms
computer name : ---
user name : ---
registered owner : Microsoft / Microsoft
operating system : Windows 10 x64 build 20201
system language : English
system up time : 16 days 18 hours
program up time : 1 minute 46 seconds
processors : 12x Intel(R) Core(TM) i7-5820K CPU @ 3.30GHz
physical memory : 39347/65429 MB (free/total)
free disk space : (C:) 70.05 GB (E:) 59.86 GB
display mode : 1920x1080, 32 bit
process id : $4444
allocated memory : 261.90 MB
largest free block : 131021.93 GB
executable : FontCreator.exe
exec. date/time : 2020-11-14 11:35
version : 14.0.0.2703
compiled with : Delphi 10.4 Sydney
madExcept version : 5.1.0
callstack crc : $389c8c62, $236249ad, $e5d786b5
exception number : 3
exception class : EAccessViolation
exception message : Access violation at address 000000000146678F in module 'FontCreator.exe'. Read of address FFFFFFFFFFFFFFFF.
madshi
Site Admin
Posts: 10753
Joined: Sun Mar 21, 2004 5:25 pm

Re: Largest free block parameter

Post by madshi »

FWIW:

2^32 = 4294967296 = 4 GB
2^64 = 18446744073709551616 = 17179869184 GB

That said, I think current Windows x64 OSs only allow a subset of the 64bit memory range to be used. Not sure how much exactly...
Post Reply