This topic describes how to release a partition from memory after a search or a query to reduce memory usage.
Since version 2.3.0, Milvus has enhanced its partition operations and now supports cascading load and release operations. This means that you can perform any combination of the following operations:
Release a loaded collection.
Release a specific partition from a loaded collection.
Release a loaded partition.
Release a collection that has part of partitions loaded.
When interacting with Milvus using Python code, you have the flexibility to choose between PyMilvus and MilvusClient (new). For more information, refer to Python SDK.