Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/blosc2/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -892,6 +892,11 @@ def free_resources() -> None:
temporary space. You can use this function to release these
resources when you are not going to use Blosc for a long time.

The number of threads can also be set via the ``BLOSC_NTHREADS`` environment
variable (e.g., ``export BLOSC_NTHREADS=1``). Additionally, you may want to set
``NUMEXPR_NUM_THREADS`` as well since numexpr is used under the hood
(e.g., ``export NUMEXPR_NUM_THREADS=1``).

Examples
--------
>>> blosc2.free_resources()
Expand Down
Loading