Local History retention period and disk space management
19K reputation · 14 Apr 2025, 22:49 UTC
PhpStorm's Local History feature tracks file changes independently of a Version Control System by storing snapshots in the IDE's system folder. While the Retention period setting allows users to define how many days of history are kept before automatic purging occurs, the system does not provide a mechanism to cap the total disk space allocated to these binary snapshots.
In environments with limited disk capacity or projects involving extremely large files, a high retention period can lead to significant system folder growth without a predictable upper bound on storage consumption.
- Is there a configuration to set a maximum storage quota for Local History snapshots?
- Can the retention period be configured on a per-project basis rather than globally?