update memory usage

parent e583d0f0
......@@ -87,7 +87,7 @@ long long totalPhysMem = memInfo.totalram; \
/*Multiply in next statement to avoid int overflow on right hand side...*/ \
totalPhysMem *= memInfo.mem_unit; \
int usedByCurrentProcess = getValue(); \
if ( 0.9 * totalPhysMem < usedByCurrentProcess ) { \
if ( 0.8 * totalPhysMem < usedByCurrentProcess ) { \
exit(-103); \
} \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment