How To
Summary
To avoid "out of disk space" errors on windows systems with OnPremises Gateway sevices it is possible to reduce spooler and persistant cache.
Objective
Environment
Steps
Power BI and the on-premises data gateway create temporary cache files when communicating between the on-premises environment and the cloud in a process called spooling.
Mashup engine uses Persistant cache for query transformations
In case log shows disk space related errors or it is required to free up disk space it is possible to relocate both caches.
Additional Information
Move Spooler cache:
1.1 Backup and edit
Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config configuration file in
C:\Program Files\On-premises data gateway directory.
Current Spooler directory location is in <value> tag:
<setting name="SpoolerDirectory" serializeAs="String">
<value>%LOCALAPPDATA%\Microsoft\On-premises data gateway\Spooler</value>
</setting>
1.2 Replace current location with one which contains enough free space in <value>
1.3 Restart gateway service.
2. Move Persistent Cache
Change the Windows environment variables for the gateway service account to a location with more space
This change redirects the Mashup engine’s cache to a larger disk.
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
19 August 2025
UID
ibm17242532