Crash : CrvNear component causes out of memory crash

Hi,

We have a repeatable out of memory crash with the Curve Nearest Object component.

There is one “bad” brep in the list, I imagine it is the source of the crash.

Thanks in advance for your investigations.

CrvNear_OutOfMem_Crash.gh (31.4 KB)

SystemInfo.txt (3.6 KB)

Have you tried to fix the brep? Looking at your screenshot it appears to have a self intersection.

Sure the Brep is bad, but it is not easy to detect and fix in the middle of a massive GH definition. Nevertheless, my point is that the component should fail without causing a crash.

Absolutely. And without the bad object (2) it works fine.