I'm using recursive jQuery AJAX to callback values from the server every second. However, this seems to be incrementing the amount of memory usage my browser has.
I'm using FireFox and I have FireBug installed which I believe to be the culprit as this logs every callback in its Console.
My first question is, am I right in saying this is the case? And if so, is there a way of 'flushing' FireBug every minute or so to reduce the logged callbacks?
Example of my code:
function callBack()
{
$.ajax(......);
setTimeout("callback()", 1000);
}
function Init()
{
callBack();
}
Init();