leak-checker: Document "--leak-limit" option
authorJustin Pettit <jpettit@nicira.com>
Wed, 7 Apr 2010 21:51:18 +0000 (14:51 -0700)
committerJustin Pettit <jpettit@nicira.com>
Thu, 8 Apr 2010 16:51:44 +0000 (09:51 -0700)
lib/leak-checker.man

index 7b376e1..beba9e1 100644 (file)
@@ -1,7 +1,15 @@
 .TP
-\fB--check-leaks=\fIfile\fR
+\fB\-\-check\-leaks=\fIfile\fR
 .
 Logs information about memory allocation and deallocation to
 \fIfile\fR, to allow for debugging memory leaks in \fB\*(PN\fR.  This
 option slows down \fB\*(PN\fR considerably, so it should only be used
-when a memory leak is suspected.
+when a memory leak is suspected.  Use the \fBovs\-parse\-leaks\fR script
+to interpret the leak file.
+.TP
+\fB\-\-leak\-limit=\fIsize\fR
+.
+Limits size of the leak file as specified by \fB\-\-check\-leaks\fR to 
+\fIsize\fR bytes.  Finding leaks sometimes requires allowing the leak 
+file to grow very large, up to 1GB.  By default, files are limited
+to 10MB.