Test for reduce memory usage