sounds like your are recreating your ArrayList<....<Double> >> somewhere down the line. can you post more of the code? Do you need a three dimensional ArrayList of ArrayList?