Fixed memmory overflow on big projects