[PATCH] Make GC dependent on % of total memory consed