跳到主要内容

Usage and Storage

GitCode provides resource quota management for each user, allowing you to view and monitor your Git repository storage space, container usage, Git LFS storage, number of projects, and other resources in real time.

提示

All usage statistics are calculated on a calendar month basis (reset at midnight on the first day of each month).

Accessing Usage and Storage


You can view your usage and storage information by navigating to "Personal Settings" -> "Data Management" -> "Usage and Storage". On this page, you can view detailed resource usage in chart form.

image-20241225180107878

Resource Statistics Methods


In resource statistics, different types of resources use corresponding calculation methods based on their specific characteristics. Below are the contents and calculation rules for each type of resource:

Resource TypeStatistics ContentCalculation Method
Git Repository StorageTotal storage of code in personal repositoriesIncludes code volume of all branches
Includes all historical commit records
Does not include large files stored in Git LFS
Container UsageComputing resources consumed by running containersContainer runtime hours × Number of CPU cores
Example: A 2-core container running for 3 hours = 6 core-hours
Git LFS StorageTotal size of large files using Git LFSTotal size of all LFS-tracked files
Includes all versions of the files
Project CountTotal number of projects you have createdProjects created by individuals
Includes both public and private projects

Monitoring and Alerts


  1. When resource usage reaches 80% of the quota, the system will send a reminder.
  2. When it reaches 95%, a warning notification will be sent.
注意
  1. Regularly check resource usage to avoid exceeding the limit.
  2. For large files, it is recommended to use Git LFS storage.