Mailinglist Archive: opensuse-programming (29 mails)

< Previous Next >
[opensuse-programming] pcre match_limit
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Tue, 03 Jul 2007 08:53:43 +0200
  • Message-id: <f6crpn$o5r$1@xxxxxxxxxxxxxxxx>
All,

I'm using PCRE (the C-library) to extract base64 encoded attachments
from emails. Needless to say, such attachments can get pretty big.  I've
been getting segfaults, so I have been playing with the match_limit (as
far as I can tell, it's not a stacksize problem). 
However, according to the pcreapi man page, the default match_limit is
10million - where as I'm having to keep it at 15000 or thereabouts. 
I'm right now trying to find the optimal level.  Can anyone explain why
I would have to set it so low?



/Per Jessen, Zürich

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-programming+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-programming+help@xxxxxxxxxxxx

< Previous Next >
List Navigation