Segmentation fault when loading fixtures

Greg Lazarev wrote:

I created some performance fixtures that load around 100k+ items through a fixture. While the fixture is loading I get a seg fault: /ruby/lib/ruby/1.8/yaml.rb:133: [BUG] Segmentation fault

Would anyone be able to shine some light on this problem? Can fixtures not load that much data?

Is the process running out of memory, perhaps?

What are my alternatives to load performance data?

Machinist and Faker might be worth a look.

Best,

Marnen Laibow-Koser wrote:

Is the process running out of memory, perhaps?

I'm on windows XP and used the Task Manager to see if memory was peaking out, it wasn't. How else can I tell if a specific process is running out of memory?

Can you do smaller load tests and extrapolate up from there ? Does 10K also segfault?

I successfully loaded about 35K records. It's really when it gets above 100k that it seg faults.

What version of Ruby are you on? Could it be a particular fixture that is segfaulting YAML? Can you do a binary search and pinpoint exactly how many fixtures until segfault?

Colin

Colin Curtin wrote: