d673d692cb
Summary: test: ``` #include <iostream> #include "utils/sysinfo/memory.hpp" #include <sys/resource.h> int main(void) { rlimit lim; lim.rlim_cur = 0; lim.rlim_max = 0; setrlimit(RLIMIT_NOFILE, &lim); std::cout << utils::AvailableMem(); return 0; } ``` Prints out: ``` E0303 15:08:53.314087 17511] Failed to read amount of available memory from /proc/meminfo ``` Reviewers: mferencevic Reviewed By: mferencevic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1269 |
||
---|---|---|
.. | ||
communication | ||
data_structures | ||
database | ||
distributed | ||
durability | ||
io/network | ||
mvcc | ||
query | ||
stats | ||
storage | ||
threading | ||
transactions | ||
utils | ||
CMakeLists.txt | ||
config.hpp | ||
memgraph_bolt.cpp | ||
version.hpp.in |