This will be very hard. The program has an uptick in memory usage from starting the slideshow, where the memory usage nearly doubles (~200MB to ~400MB).
My current suspicion is that it's caused by the Images being loaded into memory, and this can be verified by adding more testing pictures and identifying if the memory usage increases further. This would still shock me, however, because the ImageManager class is designed to store an ArrayList<String> to minimize memory usage, compared to an ArrayList<Image>
This will be very hard. The program has an uptick in memory usage from starting the slideshow, where the memory usage nearly doubles (~200MB to ~400MB).
My current suspicion is that it's caused by the Images being loaded into memory, and this can be verified by adding more testing pictures and identifying if the memory usage increases further. This would still shock me, however, because the
ImageManagerclass is designed to store anArrayList<String>to minimize memory usage, compared to anArrayList<Image>