MCPcopy Create free account
hub / github.com/TileDB-Inc/TileDB / release_memory

Method release_memory

tiledb/common/memory_tracker.h:289–293  ·  view source on GitHub ↗

* Release memory from the budget. * * @param size The memory size. */

Source from the content-addressed store, hash-verified

287 * @param size The memory size.
288 */
289 void release_memory(uint64_t size, MemoryType mem_type) {
290 std::lock_guard<std::mutex> lg(mutex_);
291 legacy_memory_usage_ -= size;
292 legacy_memory_usage_by_type_[mem_type] -= size;
293 }
294
295 /**
296 * Set the memory budget.

Callers 2

free_tile_offsetsMethod · 0.80
free_rtreeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected