MCPcopy Create free account
hub / github.com/erans/pgsqlite / record_query_deallocation

Method record_query_deallocation

src/protocol/memory_monitor.rs:191–193  ·  view source on GitHub ↗

Record query memory deallocation

(&self, bytes: u64)

Source from the content-addressed store, hash-verified

189
190 /// Record query memory deallocation
191 pub fn record_query_deallocation(&self, bytes: u64) {
192 self.query_bytes.fetch_sub(bytes, Ordering::Relaxed);
193 }
194
195 /// Check current memory pressure and take action if needed
196 pub fn check_memory_pressure(&self) {

Callers 8

getMethod · 0.80
removeMethod · 0.80
clearMethod · 0.80
cleanupMethod · 0.80
evict_lru_entryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected