Segmentation fault when loading fixtures

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? What are my alternatives to load performance
data?

Greg L. 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
http://www.marnen.org
[email protected]

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?

On Fri, Sep 25, 2009 at 4:28 PM, Greg L.
[email protected] wrote:

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?


Greg D.
http://destiney.com/

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

On Fri, Sep 25, 2009 at 3:50 PM, Greg L.
[email protected] wrote:

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 C. wrote:

On Fri, Sep 25, 2009 at 3:50 PM, Greg L.
[email protected] wrote:

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

I’m using ruby 1.8.6 on Windows.
My fixture loads records in a loop. I think around 60K the seg fault
occurs. This happens to two different fixture files. I’m really starting
to think it’s a memory issue. How can I increase the amount of memory
being used by the process?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs