What steps will reproduce the problem?
1.set_max_mem(1<<30)
2.
3.
What is the expected output? What do you see instead?
create DFA sucessfully,but DFA out of memory ,instead
What version of the product are you using? On what operating system?
latest version,on linux.
Please provide any additional information below.
NOTE: If you have a suggested patch, please see
http://code.google.com/p/re2/wiki/Contribute
for information about sending it in for review. Thanks.
caused by this expression
in dfa.cc,max_mem()*2/3.
when 1<<30 *2 it will be a negative
Original issue reported on code.google.com by charl...@126.com on 23 Apr 2013 at 9:35
Original issue reported on code.google.com by
charl...@126.com
on 23 Apr 2013 at 9:35