memgraph/src
Marin Tomic d673d692cb Add error message to AvailableMem
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
2018-03-05 10:18:16 +01:00
..
communication Stack allocate the RPC Request 2018-02-28 16:22:45 +01:00
data_structures Fix flaky concurrent list test 2018-02-19 12:49:38 +01:00
database DetachRemoveVertex remote 2018-03-02 10:51:26 +01:00
distributed DetachRemoveVertex remote 2018-03-02 10:51:26 +01:00
durability Support distributed edge removal 2018-02-28 14:35:40 +01:00
io/network Refactor network stack 2018-02-22 16:29:17 +01:00
mvcc Refactor global ids and prepare for distributed 2017-12-05 13:05:55 +01:00
query Abort from remote pulls if db says so 2018-03-02 14:23:02 +01:00
stats Add thread names 2018-02-23 16:04:49 +01:00
storage DetachRemoveVertex remote 2018-03-02 10:51:26 +01:00
threading Take care of warnings/errors created by cppcheck. 2017-11-10 10:28:02 +01:00
transactions Use the same ClientPools in distributed 2018-03-01 17:14:59 +01:00
utils Add error message to AvailableMem 2018-03-05 10:18:16 +01:00
CMakeLists.txt Refactor distributed transactional cache GC 2018-02-27 10:47:58 +01:00
config.hpp Make csv_to_snapshot more user friendly 2017-10-26 09:37:56 +02:00
memgraph_bolt.cpp Fix Bolt timeout check 2018-02-26 18:18:01 +01:00
version.hpp.in Add version.hpp.in and display it on '--version' flag 2017-09-27 09:04:44 +02:00