clear
clear#
- syncopy.clear()[source]#
Clear Syncopy objects from memory
Notes
Syncopy objects are not loaded wholesale into memory. Only the corresponding meta-information is read from disk and held in memory. The underlying numerical data is streamed on-demand from disk leveraging HDF5’s modified LRU (least recently used) page replacement algorithm. Thus,
syncopy.clear()
simply force-flushes all of Syncopy’s HDF5 backing devices to free up memory currently blocked by cached data chunks.Examples
>>> spy.clear()