I am using RSRuby to perform a complex linear fit and consequent forecasting. The ruby wrapper is responsible for cycling through a very high number of data sets, each time dynamically generating the formula, wiping out old variables and creating new ones.
At unpredictable intervals, I am encountering errors such as:
"segmentation fault"
"bus error"
etc. I am not an expert in embedding C in Ruby, and therefore I am not quite sure what kind of traceback I can provide.
I would be happy to provide any info if someone directs me in the right direction.
Best,
Oz