switched memory_sizes to permgen