Crashes with too many particles

Hi, I would like to confirm a bug.

I will describe the procedure. I create an object(example, default cube) and add it 100.000 strands of hair with children. At default settings that would be 10.000.000 strands. Use the display setting to show 10% of the particles or it gets too slow.

Blender crashes at render time with this output:


...
Calloc returns null: len=552960 in ParticleCacheKey, total 2735323164
Calloc returns null: len=552960 in ParticleCacheKey, total 2735323176
Calloc returns null: len=552960 in ParticleCacheKey, total 2735323188
Calloc returns null: len=552960 in ParticleCacheKey, total 2735323200
Calloc returns null: len=552960 in ParticleCacheKey, total 2735323212
Segmentation fault

I’m using Blender 2.62 official build. Tested on Debian and Gentoo, different hardware.

Another question: I described the procedure instead of uploading the blend file, because it’s 95mb big. Is there a way to make this file smaller?

Thanks!

You are running out of RAM. This is not a bug, it is a consequence of trying to render 10 million particle hair strands. Why on earth would you need so many?

A solution is to use Interpolated children and then Simplify children