From: Suraj Kurapati Date: 2006-02-19T16:54:29+09:00 Subject: Re: maximum number of module methods? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Suraj Kurapati wrote: > This is not the case Correction: or so I think. > 2. I added four extra module functions to the VPI module and kept > only one statement (p "foo") in the entire Ruby script-file that is > executed by the Ruby interpreter, and a SystemStackError occurred. Correction: the SystemStackError did not occur in this case. This led me to think that there was just too much state information (modules, classes, variables, etc.) being loaded into the Ruby interpreter embedded in my C program. This makes sense because my C program and the Ruby extension I was building had worked perfectly fine until I registered a new module function with the Ruby interpreter. From this point onwards, I started getting SystemStackErrors whenever any additional state information was loaded onto the Ruby interpreter embedded in my C program. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFD+CDdmV9O7RYnKMcRAmHtAKCSZh9NHGjXoBk83SczaJAteK7M5QCfb8ZE xIS5OzRgJMb2wt6T8d3frTg= =54hr -----END PGP SIGNATURE-----