Looks like delaying writes in disk cache increased memory consumption in Membuster, probably due to keeping write buffers around longer.
Created attachment 255118 [details] patch
rdar://problem/21406677
Comment on attachment 255118 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=255118&action=review r=me > Source/WebKit2/ChangeLog:8 > + Clear the cache write queue on critical memory pressure. There can be substantial amount of memory there and we I thought you were going to hurry the writes instead but why not. This is much simpler :) > Source/WebKit2/NetworkProcess/NetworkProcess.cpp:184 > + nit: Seems unnecessary to add a line here.
https://trac.webkit.org/r185704
Re-opened since this is blocked by bug 146544