Server crashing without CPU overload?

Hi forum,

I have this code:

(
Ndef(\bubbles2)[0] = {         
	|freq=0.001, gate=1, iphase=0, boost=1.25, detune=1,                     
	atk=0.01, dec=0.3, rel=3,
	mincf=40, maxcf=12000, minrq=0.002, maxrq=0.2,
	amp=0.5, fsel=0, fofreq=20|
	var sig, env, f;
	env = EnvGen.kr(Env.adsr(atk,dec,0.5,rel), gate, doneAction:2);
	sig = SawDPW.ar(
		freq +
		LFDNoise1.kr(LFDNoise1.kr(0.5!8).range(0.1,1)).bipolar(detune),
		iphase
	);

	f = SelectX.ar(fsel, [DC.ar(1), SinOsc.ar(fofreq)]);

	5.do {
		sig = (sig * boost).fold2(f);
	};

	sig = BBandPass.ar(
		sig,
		LFDNoise1.kr({ExpRand(0.01,0.75)}!8).range(mincf,maxcf),
		LFDNoise1.kr({ExpRand(0.1,0.75)}!8).range(minrq,maxrq)
	);

	sig = Splay.ar(sig);
	sig = sig * env * amp;
};
)

s.options.memSize = 2.pow(20)

Ndef(\bubbles2).fadeTime_(10);
Ndef(\bubbles2).play;
Ndef(\bubbles2).set(\freq, 0.001, \amp, 2)

Ndef(\bubbles2)[1] = \filter -> {|in| GVerb.ar(in[0], 1000, revtime:10)}
Ndef(\bubbles2)[1] = nil

Ndef(\bubbles2).xset(\freq, 10) 

When I activate the Gverb (slot 1) and play with its params it goes on for a while and then crashes with the following errors:

Server 'localhost' exited with exit code -1073741819.
server 'localhost' disconnected shared memory interface

even though the CPU reaches 15% maximum. Why is this? As you can see I tried setting the memSize really high but it doesn’t help at all.

Thanks

GVerb can crash when you change parameters. I think it’s an old bug.

Just to add: in general, CPU usage has nothing to do with crashes.

are you running on Windows?