arraylist - memory reduce