retire/catalog.cc
static void enforce_mem_limit() {
    if (!getMemoryEnforcedFlag()) {
      sqlite3_soft_heap_limit(SQLITE_THREAD_MEM*1024*1024);
      setMemoryEnforcedFlag(true);
    }
  }
/**
   * Since the functions in here can be called from multiple
   * threads, we have to enforce void sqlite3_soft_heap_limit(int)
   * the hard way (via TLS).
   */
Since the functions in here can be called from multiple
threads, we have to enforce void sqlite3_soft_heap_limit(int)
the hard way (via TLS).
Since the functions in here can be called from multiple threads we have to enforce void sqlite3_soft_heap_limit ( int ) the hard way ( via TLS ) .
static void enforce_mem_limit() {
    if (!getMemoryEnforcedFlag()) {
      sqlite3_soft_heap_limit(SQLITE_THREAD_MEM*1024*1024);
      setMemoryEnforcedFlag(true);
    }
  }
static void enforce_mem_limit ( ) { if ( ! getMemoryEnforcedFlag ( ) ) { sqlite3_soft_heap_limit ( SQLITE_THREAD_MEM * 1024 * 1024 ) ; setMemoryEnforcedFlag ( true ) ; } }
Since the functions in here can be called from multiple
 threads, we have to enforce void sqlite3_soft_heap_limit(int)
 the hard way (via TLS).
Since the functions in here can be called from multiple threads we have to enforce void sqlite3_soft_heap_limit ( int ) the hard way ( via TLS ) .