Removing the flyweight directory will only save space if you have a large
number of unused/deleted materials since the last time you cleaned up the
folder. In other words it will effectively only reclaim

You need sufficient space for an entire git clone for every material that
is listed in the Materials page. If you are using the git path material
plugin with many different paths, and your repositories are very large, you
may need a lot of space. (GoCD does not yet support blobless clones on the
server as would possibly help in this situation)

I would review your repository sizes and materials to assess how much space
you require given these constraints.

-Chad


On Sat, 12 Jul 2025, 07:16 Obiageli Adegbite, <oech...@gmail.com> wrote:

> Thank you for responding, I read that and delete the flyweight but it
> simple refills just as quickly as you delete them. My pipeline is set to
> auto update = true an the space gets eaten up just as quickly
>
> On Tuesday, 8 July 2025 at 12:26:07 UTC-4 Sriram Narayanan wrote:
>
>> Per Ketan’s advice in the past, one can clear the files within the
>> flyweight directory.
>>
>> See
>>
>>
>> https://groups.google.com/d/msgid/go-cd/CAMUPJd4HFuj%2BPnwX_jV-ib3tj2rwRK2a%2BBXJta6czMM22jYfmw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/go-cd/CAMUPJd4HFuj%2BPnwX_jV-ib3tj2rwRK2a%2BBXJta6czMM22jYfmw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>
>>
>> On Tue, 8 Jul 2025 at 11:30 PM, Obiageli Adegbite <oec...@gmail.com>
>> wrote:
>>
>>> Hello,
>>>
>>> I am running into an issue where the flyweight is consuming 99% of the
>>> gocd server space. During my investigation. It appears some of the
>>> flyweight is being replicated multiple times.
>>>
>>> My understanding of the flyweight is not clear, perhaps you can shed
>>> light on what the flyweight is actually doing. My understanding of the
>>> flyweight is that GoCD should clone the material (in my case git)
>>> repository the first time, and from then on, it should just poll for
>>> changes (the size shouldn't increase much). It should also have only one
>>> directory per material.
>>>
>>> In my case I am using the gocd-git-path-material-plugin alot which
>>> allows me to use point to different paths, I also point to different
>>> branches. I am not sure if based on every different path or branch we have
>>> a unique flyweight. Can you please clarify and also share suggestions
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "GoCD Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to go-cd+un...@googlegroups.com.
>>> To view this discussion visit
>>> https://groups.google.com/d/msgid/go-cd/363d5578-a789-4b8c-b90d-7bf4c627c31bn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/go-cd/363d5578-a789-4b8c-b90d-7bf4c627c31bn%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
> You received this message because you are subscribed to the Google Groups
> "GoCD Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to go-cd+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/go-cd/025a4ee9-31a4-4ccb-88f3-cbe2487eb9f2n%40googlegroups.com
> <https://groups.google.com/d/msgid/go-cd/025a4ee9-31a4-4ccb-88f3-cbe2487eb9f2n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups "GoCD 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to go-cd+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/go-cd/CAEe7TBzDLeCQJxwMboMvXyfDo85-Qhs0aG41cyxvX6_7fiDxUA%40mail.gmail.com.

Reply via email to