Atop stores accounting logs in two places: /run/atop/ and /var/log/atop/. By default, each day data from the first one moves to the second one. Also, data in the /var/log/atop/ rotating to keep only 28 last days (default value that we did not change).
The problem is that in rare cases files may be big enough to take more place than expected and we have no options to predetermine maximum size for both places where atop stores data.
To avoid potential problems with low memory and low storage deployments, we need to allow controlling a maximum size of both current and historical log files. It seems that two additional logrotate rules may help here.