Matej Ferencevic
805b86f5e0
Fix memory warning errors
...
Reviewers: buda
Reviewed By: buda
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D1543
2018-08-17 16:29:46 +02:00
Marko Budiselic
c76170a9db
Clean utils folder (namespaces, function names)
...
Reviewers: teon.banek
Reviewed By: teon.banek
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D1359
2018-04-22 09:44:32 +02:00
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
florijan
b2f3dc1916
Available memory logging, utils/sysinfo/memory cleanup, tests/concurrent cleanup.
...
Summary:
Added a warning to the log. Every 3 seconds (let's not make that configurable). Can be turned off.
I still don't like this. We are raising another thread and reading a file to do monitoring. We're developing a DB, not a sys monitor. Serious admins do that themselves. But, here it is.
UPDATE:
Cleaned up `utils/sysinfo/memory`. Removed all unused functions. Removed the faulty memory check in `tests/concurrent`.
Reviewers: buda, mferencevic, mislav.bradac
Reviewed By: mislav.bradac
Subscribers: pullbot
Differential Revision: https://phabricator.memgraph.io/D819
2017-09-22 16:06:30 +02:00
Marko Budiselic
d4e3c4cd10
clang format has been run on all hpp and cpp files under src and tests
2017-02-18 11:54:37 +01:00
Marko Budiselic
e7f5bd4c21
antlr integration, *.hpp and *.cpp inside src dir, cleanup
...
Summary: antlr integration, *.hpp and *.cpp inside src dir, cleanup
Test Plan: manual
Reviewers: mislav.bradac, dgleich, florijan
Reviewed By: florijan
Subscribers: pullbot, buda
Differential Revision: https://phabricator.memgraph.io/D49
2017-02-17 16:20:31 +01:00
Marko Budiselic
869da8dcda
All files for the Release are now isolated
2016-08-10 09:39:02 +01:00
Marko Budiselic
b5536d70fa
delete accessor from version list + build flow update + memgraph docker file + TODO: debug cypher grammar
2016-06-25 17:26:26 +01:00