• To fix the out-of-memory error, replace these lines (refering to post #3)

    this.watch = setWatch(function(t) {
        if(ht.watch){ ht.watch = clearWatch(ht.watch); }
    

    with these lines

    var w = setWatch(function(t) {
    clearWatch(w);
    

    It would be better to set the watch only once (as well as some other setup tasks), instead of setting it in every run (as it is done in this .js module).

About

Avatar for maze1980 @maze1980 started