MemoryUtility

Helper class to keep track of memory consumption in loggers to reduce risk of running out of memory

Internal

Table of Contents

Methods

isMemoryConsumptionTooHigh()  : bool
Checks memory usage used in current process - this is no guarantee for not running out of memory but should prevent memory exhaustion due to the admin panel in most cases.

Methods

isMemoryConsumptionTooHigh()

Checks memory usage used in current process - this is no guarantee for not running out of memory but should prevent memory exhaustion due to the admin panel in most cases.

public static isMemoryConsumptionTooHigh() : bool

The loggers will stop logging once the amount of free memory falls below the threshold (see MINIMAL_PERCENT_OF_FREE_MEMORY const).

Return values
bool

        
On this page

Search results