#10637: memory issue with mounted image files ---------------------------+------------------------------ Reporter: jessicah | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: System/Kernel | Version: R1/Development Keywords: | Blocked By: Blocking: | Has a Patch: 0 Platform: All | ---------------------------+------------------------------ I have an 8GB bfs formatted image file mounted, and my system partition has about 3GB free. My system also has 8GB of RAM. I've also disabled Virtual Memory, but the problem also occurred with Virtual Memory enabled. It seems like writes to the mounted image file are causing some weird issues in the file caching layer. And even though looking at process controller, the memory usage never seems to appear to exceed 500MB, large writes to the mounted image causes the system to think there is no memory left. Also, the kernel's "low resource handler" thread hammers a single core at near 100% utilisation. Gets into a state where even reads from the mounted image file appear to be corrupted. E.g. {{{ /Cabinet/webkit> git checkout HEAD --force error: failed to read object 3e482c427f57a47f262816900de4ca655b322792 at offset 98195304 from .git/objects/pack/pack- 1d8534f61de156ee015c1949b78755305f4e2ebb.pack fatal: packed object 3e482c427f57a47f262816900de4ca655b322792 (stored in .git/objects/pack/pack-1d8534f61de156ee015c1949b78755305f4e2ebb.pack) is corrupt /Cabinet/webkit> git pull bash: /bin/git: Out of memory }}} After a reboot, git no longer complains about corrupted files the first time through (of course, a few file system operations later, what once worked ends up being reported as corrupted again). -- Ticket URL: <https://dev.haiku-os.org/ticket/10637> Haiku <https://dev.haiku-os.org> Haiku - the operating system.