poor memory optimization & management