From 13c416a9b1c2609e32f608a8858d5cf50cfd08c7 Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Fri, 24 Mar 2017 18:35:42 +0000 Subject: [PATCH] Documentation update. --- doc/pcre2test.1 | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/pcre2test.1 b/doc/pcre2test.1 index 6170bd3..4d5dc73 100644 --- a/doc/pcre2test.1 +++ b/doc/pcre2test.1 @@ -1059,7 +1059,7 @@ pattern. jitstack= set size of JIT stack mark show mark values match_limit= set a match limit - memory show memory usage + memory show heap memory usage null_context match with a NULL context offset= set starting offset offset_limit= set offset limit @@ -1333,8 +1333,11 @@ is added to the non-match message. .SS "Showing memory usage" .rs .sp -The \fBmemory\fP modifier causes \fBpcre2test\fP to log all memory allocation -and freeing calls that occur during a match operation. +The \fBmemory\fP modifier causes \fBpcre2test\fP to log all heap memory +allocation and freeing calls that occur during a call to \fBpcre2_match()\fP. +These occur only when a match requires a bigger vector than the default for +remembering backtracking points. In many cases there will be none. No heap +memory is allocated during matching with \fBpcre2_dfa_match\fP or with JIT. . . .SS "Setting a starting offset"