Closed GoogleCodeExporter closed 9 years ago
You are using an enormous regexp, and the DFA cache is too small for that. The
threads are contending over the cache. The cache is not read-only. If you give
the DFA more memory it should run better. The print on standard error is
telling you this. See the set_max_mem option.
Original comment by rsc@golang.org
on 10 Jan 2014 at 3:04
Okay, why results are better on much more bigger input so?
Original comment by socketp...@gmail.com
on 10 Jan 2014 at 3:46
set_max_mem set to 400 mb in my example
why 400 mb is not enough for that job?
not so big regexp imho....
Original comment by socketp...@gmail.com
on 10 Jan 2014 at 5:59
Original issue reported on code.google.com by
socketp...@gmail.com
on 21 Oct 2013 at 8:46Attachments: