[ragel-users] terminate called after throwing an instance of 'std::bad_alloc'

Iñaki Baz Castillo ibc at aliax.net
Tue Apr 14 08:47:51 UTC 2009

2009/4/14 Iñaki Baz Castillo <ibc at aliax.net>:
> 2009/4/14 Adrian Thurston <thurston at complang.org>:
>> Try using -T0. My guess is that the alphabet size is large and the
>> allocation of tables is eating up too much memory.
> If so, is it a bug or a problem in my grammar?
> ~# ragel -T0 -R sip_parser.rl -o sip_parser.rb
> ragel: rubycodegen.cpp:372: std::string RubyCodeGen::WIDE_ALPH_TYPE():
> Assertion `wideType != 0' failed.

PD: Note that it worked fine in 32 bits (same grammar, some Ragel version).

Iñaki Baz Castillo
<ibc at aliax.net>

More information about the ragel-users mailing list