Hello Sriram,

Thank you for your response, I already read that thread. This is different 
in tha even after pruning the flyweight it regenerated within minutes. My 
materials are set to auto update so that doesn't help. My question really 
is does GoCD create a new flyweight for the same material if:
   
   1. 
   
   The same material is defined *differently* in different pipelines.
   2. 
   
   Even small changes like:
   - 
      
      Different material_name
      - 
      
      Different branch (e.g., main vs release)
      - 
      
      Different path: in Git plugin
      - 
      
      Different clone settings (shallow_clone, auto_update)
      - 
      
      Even different *casing* in URLs (GitHub.com vs github.com)
      

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 <[email protected]> 
> 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 [email protected].
>> 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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/go-cd/12542ba9-c9a5-4dc7-8a7e-7b75f478563fn%40googlegroups.com.

Reply via email to