Bug 536596 - Don't force garbage collections on every record processed

Remove the forceGC at the end of each onProgress from Collections and let normal actions trigger GC.
This commit is contained in:
Edward Lee 2010-01-06 09:57:05 -08:00
Родитель 374089c085
Коммит 5a569bea45
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -158,10 +158,6 @@ Collection.prototype = {
record.id = record.data.id;
onRecord(record);
}
// Aggressively clean up the objects we created above so that the next set
// of records have enough memory to decrypt, reconcile, apply, etc.
Cu.forceGC();
};
}
};