Stricter limit for the number of unused vnodes. The fs_shell doesn't
really manage memory, so one could easily run out of memory when copying large files. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22256 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0c85ed21ae
commit
32bf31b3ee
@ -49,7 +49,7 @@
|
||||
namespace FSShell {
|
||||
|
||||
|
||||
const static uint32_t kMaxUnusedVnodes = 1024;
|
||||
const static uint32_t kMaxUnusedVnodes = 16;
|
||||
// This is the maximum number of unused vnodes that the system
|
||||
// will keep around (weak limit, if there is enough memory left,
|
||||
// they won't get flushed even when hitting that limit).
|
||||
|
Loading…
x
Reference in New Issue
Block a user