VCS Root Cache very large

Answered

Hi - we are currently using TC v10 and PlasticSCM as our VCS.

We have the current plugin but have noticed that the data files located within the Cache folder are getting very large. (circa 100GB).  We have the following settings for the VCS root;

Checkout mode - Always Checkout on server
Checkout Directory - Auto
Clean build is checked
and display options unchecked.

The cleanup settings have been configured to run but seems to only clean artifacts and logs - the VCS Cache is only getting larger with every build that is completed.

My questions are this;

1. Is there a setting somewhere I have missed
2. Can the Cache files be manually deleted
3. Can the files be automatically managed

Many thanks in advance for your help,

PJ

 

0
2 comments

Hello Paul,

Do you mean system\caches directory on TeamCity server? To minimize size of this cache you can use "Agent-side checkout" mode, because the cache is only used for server side checkout. Also it would be better to reduce number of build configurations with "Clean all files before build" setting enabled if you use them.

Caches directory can be manually deleted to clear caches: they will be restored automatically as needed. It is safer to delete the directory while server is not running.

1
Avatar
Permanently deleted user

Perfect - thankyou for taking the time to answer.

 

We have manually deleted the files to clear the cache and reduced the footprint and space used.

PJ

0

Please sign in to leave a comment.