Hi there,
We are trying to automate the creation of snapshots for testing our application. We may create up to 10,000 snapshots. For the sake of testing, we created 400 snapshots. We noticed that the `~/.android/avd/Test.avd/userdata-qemu.img.qcow2` file quickly bloated to 32 GB! From what I understand, this is the virtual disk where the files of the AVD are stored.
We tried compresing using the following command:
qemu-img convert -O qcow2 userdata-qemu.img.qcow2 dup.qcow2
But the snapshots fail to load after the compression.
Can someone please answer the following questions? It would be really helpful!
Why is this file bloating?
Is there a way to split this file into multiple parts such that we can pull only the necessary data when loading a snapshot?
Thank you for your time!