sf [off-list ref] wrote:
Shawn Pearce wrote:
...
quoted
One of the biggest annoyances has been the fact that although Java
1.4 offers a way to mmap a file into the process,
Be careful with mmap:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4724038
Thanks. That particular bug has been of some discussion on
#git before. I'm planning on making it a configuration flag in
.git/config for the user to decide how much pain they want: mmap
(with all its huge downsides) or read into byte[] (with all the
memory footprint that requires).
--