[darcs-users] darcs patch: resolve issue777: reduce memory usage of darcs put

zooko zooko at zooko.com
Mon May 26 17:55:18 UTC 2008


Tip: do not use "virtual memory size" on Linux to measure your memory  
usage.  That number has very little correlation with memory usage or  
with anything that anyone cares about.  Use the resident set size  
instead, and think of it as a lower bound.  (Or turn off swap and  
think of it as a good measurement.)

Another tip: use the valgrind "massif" tool to profile the memory  
usage of your application.

http://allmydata.org/trac/tahoe/ticket/227 # (our automated memory  
measurements might be measuring the wrong thing)

Regards,

Zooko



More information about the darcs-users mailing list