Within the temp folder of a Tomcat installation path, folders get created for the TAC project repository. These include the branch and tag folders of the repository as well. Over time, the space consumed increases, and requires frequent clean up.
For example, on the TAC file system, you can see that all tags and branches are checked out on the file system:
By default, when Git/SVN is configured on the TAC > Configuration page, TAC caches the projects, branches, and tags accordingly, creating the folders in the tomcat/temp directory. When you have more projects or branches, or the content of the repository is increasing, TAC starts checking out the projects accordingly.
Over time, this consumes more disk space and you will run out of space on the machine.
TAC allows you to filter the project on defined Git/SVN branches or tags in order to reduce the use of disk resources and improve performances.
While configuring Git/SVN in TAC > Configuration, enable the Branches whitelist option on the Configuration page. For details, see Setting up SVN or Git parameters in the Talend Administration Center User Guide.
This results in the creation of a whitelist configuration file named active_svn_branches.csv (for SVN projects) or active_git_branches.csv (for Git projects). Generally the CSV file is created in the Talend_Installation_Directory\tac\apache-tomcat\webapps\org.talend.administrator\WEB-INF\classes directory.
Open the whitelist configuration file to edit it (active_svn_branches.csv for SVN projects or active_git_branches.csv for Git projects). You can see the list of all branches of your projects.
Remove the lines corresponding to the branches on which you do not want to work (keep only the necessary ones) and save the changes. The project is now filtered on the branches you have chosen to keep.