[augeas-devel] Out-of-Memory or "Regular expression subtraction 'r1 - r2' failed" ?
Yclept Nemo
orbisvicis at gmail.com
Sun Oct 25 20:30:04 UTC 2015
Hi,
Is this an error on my end, or a hidden out-of-memory failure?
>> 1 module Test =
>> 2 let dqr = /.*/ - /(.*[^\])?([\]{2})*".*/ -
/(.*[^\])?[\]([\]{2})*)/
>> 3 let t01 = /[a-z]([a-z_]*[a-z])?/
>> 4 let t02 = /(true|false)/
>> 5 let t03 = /(0|[1-9][0-9]*)/
>> 6 let t04 = /(0|[1-9][0-9]*)\.[0-9]+/
>> 7 let t05 = /"/ . dqr . /"/
>> 8 let t06 = t02 | t03 | t04 | t05
>> 9 let t07 = /[ \t]*=[ \t]*/
>> 10 let t08 = /[ \t]*#[ \t]*/
>> 11 let t09 = t08 . /([^ \t\n].*)?/
>> 12 let t10 = t01 . t07 . t06 . t09?
>> 13 let t11 = /([^ \t\n].*)?/ - t10
>> $ augparse test.aug
>> ... Failed to compile t11
>> ... exception: Regular expression subtraction 'r1 - r2' failed
Tools augparse/augtool fail at 90% RSS - approx. 5500MB of physical memory
and a large (2-3GB?) swap size. The resulting error message (r1 & r2 in
text form) is long but only 32kb in size.
sincerely,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/augeas-devel/attachments/20151025/b254a4c7/attachment.htm>
More information about the augeas-devel
mailing list