MemoryInfo

class OC\MemoryInfo
Helper class that covers memory info.
Source:lib/private/MemoryInfo.php#33

Constants

RECOMMENDED_MEMORY_LIMIT = 512 * 1024 * 1024
Source:lib/private/MemoryInfo.php#34

Methods

public OC\MemoryInfo::isMemoryLimitSufficient()
Tests if the memory limit is greater or equal the recommended value.
Source:lib/private/MemoryInfo.php#41
Returns:bool
public OC\MemoryInfo::getMemoryLimit()
Returns the php memory limit.
Source:lib/private/MemoryInfo.php#51
Returns:int The memory limit in bytes.