-
Notifications
You must be signed in to change notification settings - Fork 113
Closed
Labels
detector:pipThe pip detectorThe pip detectorstatus:in-progressSomeone is working on implementationSomeone is working on implementationtype:featureFeature (new functionality)Feature (new functionality)
Description
Within microsoft/component-detection/IPyPiClient.cs at main, the current caching implementation is simply a ConcurrentDictionary that will cache all of a PyPi responses's data to be used in case the dependency is found again later. However, in repositories with large Python package lists, this has a potential to allocate more memory than can be allocated in resource constrained environments.
The caching strategy within the client should be improved so that large Python dependency graphs can be generated using less allocated memory. Potential improvements such as migrating to an Least Recently Used cache should be investigated.
ramaprakashganesan
Metadata
Metadata
Assignees
Labels
detector:pipThe pip detectorThe pip detectorstatus:in-progressSomeone is working on implementationSomeone is working on implementationtype:featureFeature (new functionality)Feature (new functionality)