retdec
Namespaces | Functions
memory.h File Reference

Memory utilities. More...

#include <cstdlib>

Go to the source code of this file.

Namespaces

 retdec
 
 retdec::utils
 

Functions

std::size_t retdec::utils::getTotalSystemMemory ()
 Returns the total size of system RAM (in bytes). More...
 
bool retdec::utils::limitSystemMemory (std::size_t limit)
 Limits system memory to the given size (in bytes). More...
 
bool retdec::utils::limitSystemMemoryToHalfOfTotalSystemMemory ()
 Limits system memory to half of the total memory. More...
 

Detailed Description

Memory utilities.