When calculating virtual Gems repository index, we notice that the memory consumption start to raise.
Attached MAT heap dump profile analyzed.
Steps to reproduce:
- Create remote Ruby Gems repository.
- Create Virtual Ruby Gems repository and include the remote repository from step 1 in it.
- Trigger metadata calculation in the virtual repository level -> you will notice that the memory usage is increased.