SymptomsStatistics are calculated incorrectly, with gaps or incorrect values, or they are not calculated at all.
You may see the following error when trying to execute statistics.exe:
C:\Program Files\SWsoft\Plesk\admin\bin>statistics.exe --http-web-statistics --process-domains=domain.tld --verbose
at Execute C:\PROGRA~1\SWsoft\Plesk\ADDITI~1\Perl\bin\perl.exe"
CauseA "bad allocation" error means that there is not enough memory for the Perl process used by AWStats.
The error appears mostly (but not only) when x86 architecture is used and memory consumption is close to 4 GB.
These recommendations may reduce the probability of the above errors' occurrence:
1. Configure Log Rotation by log size and store no more than two log files (for domains with a heavy load).
2. Run statistics more frequently, e.g., twice per day (for domains with a heavy load).
3. Change web statistics application from AWStats to another one, e.g., Urchin (optional).
4. Change the hardware and OS architecture to x86_64.