/[pcre]/code/trunk/doc/pcrestack.3
ViewVC logotype

Diff of /code/trunk/doc/pcrestack.3

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 902 by ph10, Sat Jan 21 15:47:59 2012 UTC revision 903 by ph10, Sat Jan 21 16:37:17 2012 UTC
# Line 140  limits. Line 140  limits.
140  .sp  .sp
141  The actual amount of stack used per recursion can vary quite a lot, depending  The actual amount of stack used per recursion can vary quite a lot, depending
142  on the compiler that was used to build PCRE and the optimization or debugging  on the compiler that was used to build PCRE and the optimization or debugging
143  options that were set for it. The rule of thumb value of 500 bytes mentioned  options that were set for it. The rule of thumb value of 500 bytes mentioned
144  above may be larger or smaller than what is actually needed. A better  above may be larger or smaller than what is actually needed. A better
145  approximation can be obtained by running this command:  approximation can be obtained by running this command:
146  .sp  .sp
147    pcretest -m -C    pcretest -m -C
148  .sp  .sp
149  The \fB-C\fP option causes \fBpcretest\fP to output information about the  The \fB-C\fP option causes \fBpcretest\fP to output information about the
150  options with which PCRE was compiled. When \fB-m\fP is also given (before  options with which PCRE was compiled. When \fB-m\fP is also given (before
151  \fB-C\fP), information about stack use is given in a line like this:  \fB-C\fP), information about stack use is given in a line like this:
152  .sp  .sp
153    Match recursion uses stack: approximate frame size = 640 bytes    Match recursion uses stack: approximate frame size = 640 bytes
154  .sp  .sp
155  The value is approximate because some recursions need a bit more (up to perhaps  The value is approximate because some recursions need a bit more (up to perhaps
156  16 more bytes).  16 more bytes).
157  .P  .P
158  If the above command is given when PCRE is compiled to use the heap instead of  If the above command is given when PCRE is compiled to use the heap instead of
159  the stack for recursion, the value that is output is the size of each block  the stack for recursion, the value that is output is the size of each block
160  that is obtained from the heap.  that is obtained from the heap.
161  .  .
162  .  .
163  .SS "Changing stack size in Unix-like systems"  .SS "Changing stack size in Unix-like systems"

Legend:
Removed from v.902  
changed lines
  Added in v.903

  ViewVC Help
Powered by ViewVC 1.1.5