[MAX 4] stack overflow made easy

Feb 26, 2010 at 10:43am

[MAX 4] stack overflow made easy

hi,

i know this won’t be fixed in the future but i would like to understand why it occurs.

if you click the button… biiiim :)

#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#N thispatcher;
#Q end;
#P newobj 168 151 61 196617 thispatcher;
#P message 168 125 73 196617 clean , dispose;
#P user jsui 168 80 86 34 1 0 0 jsui_textbutton.js button;
#P connect 1 0 2 0;
#P connect 0 0 1 0;
#P window clipboard copycount 3;

cheers,

g

#48792
Feb 26, 2010 at 11:54am

I think the idea is that you can create abstractions on-the-fly from your main patch, for example one which plays a big buffer~, and you may want to get all that memory back at some point. Simply closing the patch with the buffer~ won’t work, but “dispose” will kill it and free the memory.

You definitely wouldn’t want to use it in your main patch…

#175352

You must be logged in to reply to this topic.