Make sure there is already a small sync before so the database is queried. Make also a sync after to run an update with many files in the database.
This simulates a ~50k files sync that can be used to measure memory usage without having to wait for a server.