[Freeswitch-users] mod_spidermonkey memory leak?
まつばら ともや
matomoya at yahoo.co.jp
Tue Jan 26 04:07:10 PST 2010
I have tested the SVN trunk 15341.
When the following scripts are executed, it seems to do the memory leak.
Is the mistake found in the following scripts?
Or Is there a problem in mod_spidermonkey?
-- test script --
session.execute("ring_ready");
session.answer();
session.setVariable("ringback", "%(1000, 2000, 440, 460)");
var bleg = new Session();
var sound_wav = "sounds/test01.wav";
var sound_leg = "both";
var op = "api_on_answer=uuid_broadcast "+session.uuid+" "+sound_wav+"
"+sound_leg;
var ret = bleg.originate(session, "{"+op+"}" +
"sofia/gateway/profile0_gateway1/1000");
if(!session.ready()){
return;
}
if(!ret){ // bleg not answered.
var sound_wav = "sounds/test02.wav";
session.streamFile(sound_wav);
if(session.ready()){
session.hangup();
}
return;
}
if(bleg.ready()){
bridge(session, bleg);
}
More information about the FreeSWITCH-users
mailing list