Root > Reference > All Functions > AllocMemSizeEx2

Function AllocMemSizeEx2

Previous pageReturn to chapter overviewNext page   

Represents the total size of allocated memory blocks, including overhead from EurekaLog's memory/leaks checks.

 

Unit

EMemLeaks

 

Syntax

 

Code (Delphi)

function AllocMemSizeEx2: Int64;

 

Return value

Size in bytes of all allocated memory blocks, including overhead from EurekaLog's memory/leaks checks. Returns 0 if no allocations were made, or all allocations were released.

 

Remarks

AllocMemSizeEx2 is the total size, in bytes, of all currently allocated blocks of memory in use by an application. Use AllocMemSizeEx2 to find out how many bytes of memory an application is currently using.

Tip

Unlike AllocMemSize, AllocMemSizeEx2 is not deprecated and always returns actual information.

 

Note

AllocMemSizeEx2 does NOT mimic the AllocMemSize function, it indicates sum of all requested sizes - including additional overhead imposed by EurekaLog filter.

 

 

See also




Send feedback... Build date: 2025-04-11
Last edited: 2025-04-10
PRIVACY STATEMENT
The documentation team uses the feedback submitted to improve the EurekaLog documentation. We do not use your e-mail address for any other purpose. We will remove your e-mail address from our system after the issue you are reporting has been resolved. While we are working to resolve this issue, we may send you an e-mail message to request more information about your feedback. After the issues have been addressed, we may send you an email message to let you know that your feedback has been addressed.


Permanent link to this article: https://www.eurekalog.com/help/eurekalog/topic_function_ememleaks_allocmemsizeex2.php