theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
Loading...
Searching...
No Matches
Sq3Lite_Internal_Memory_PY_API

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'Memory' … More...

+ Collaboration diagram for Sq3Lite_Internal_Memory_PY_API:

Functions

static OT_ProcRet pysq3lite_Sq3Lite_HardHeapLimit64 (OtClass_ARGS)
  Python: [static] int64 HardHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …
 
static OT_ProcRet pysq3lite_Sq3Lite_ReleaseMemory (OtClass_ARGS)
  Python: [static] ReleaseMemory(N:int32) C-API
Attempt To Free Heap Memory …
 
static OT_ProcRet pysq3lite_Sq3Lite_SoftHeapLimit64 (OtClass_ARGS)
  Python: [static] int64 SoftHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …
 

Detailed Description

Sq3Lite PACKAGE - functions related to index 'Internal' and doc 'Memory' …

Attempt To Free Heap Memory:

Impose A Limit On Heap Size:

Reference code from sqlite3:

// Attempt To Free Heap Memory:
// Impose A Limit On Heap Size:
sqlite_int64 sqlite3_int64
#define SQLITE_API
SQLITE_API int sqlite3_release_memory(int)
SQLITE_API sqlite3_int64 sqlite3_hard_heap_limit64(sqlite3_int64 N)
SQLITE_API sqlite3_int64 sqlite3_soft_heap_limit64(sqlite3_int64 N)

Function Documentation

◆ pysq3lite_Sq3Lite_HardHeapLimit64()

static OT_ProcRet pysq3lite_Sq3Lite_HardHeapLimit64 ( OtClass_ARGS )
static

Python: [static] int64 HardHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …

Definition at line 2226 of file LibSq3Lite_py.c.

2226 {
2229 MK_I64 N = 0;
2233 goto end;
2234 error:
2236 end:
2238}
#define OT_SETUP_ONEARG(d)
#define OT_CHECK_NI8(val)
#define OT_retObj_SET_Error
#define OT_retObj_SET_I64(nat)
#define OT_CHECK_REQUIRED(val)
#define OT_retObj_RETURN
#define OT_CHECK_NOARGS
#define HardHeapLimit64_doc
#define OT_SETUP_hdl_static
signed long long MK_I64
static MK_I64 Sq3HardHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …

◆ pysq3lite_Sq3Lite_ReleaseMemory()

static OT_ProcRet pysq3lite_Sq3Lite_ReleaseMemory ( OtClass_ARGS )
static

Python: [static] ReleaseMemory(N:int32) C-API
Attempt To Free Heap Memory …

Definition at line 2241 of file LibSq3Lite_py.c.

2241 {
2244 MK_I32 N = 0;
2249 goto end;
2250 error:
2252 end:
2254}
#define OT_CHECK_NI4(val)
#define OT_retObj_SET_None
#define MkErrorC_Check(mng, PROC)
#define ReleaseMemory_doc
signed int MK_I32
static enum MkErrorE Sq3ReleaseMemory(MK_I32 N)
Attempt To Free Heap Memory …

◆ pysq3lite_Sq3Lite_SoftHeapLimit64()

static OT_ProcRet pysq3lite_Sq3Lite_SoftHeapLimit64 ( OtClass_ARGS )
static

Python: [static] int64 SoftHeapLimit64(N:int64) C-API
Impose A Limit On Heap Size …

Definition at line 2257 of file LibSq3Lite_py.c.

2257 {
2260 MK_I64 N = 0;
2264 goto end;
2265 error:
2267 end:
2269}
#define SoftHeapLimit64_doc
static MK_I64 Sq3SoftHeapLimit64(MK_I64 N)
Impose A Limit On Heap Size …