theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Internal_Memory_CS_API

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

+ Collaboration diagram for Sq3Lite_Internal_Memory_CS_API:

Functions

static long cssq3lite.Sq3Lite.HardHeapLimit64 (long N)
  C#: [static] long HardHeapLimit64(long N) C-API
Impose A Limit On Heap Size …
 
static void cssq3lite.Sq3Lite.ReleaseMemory (int N)
  C#: [static] ReleaseMemory(int N) C-API
Attempt To Free Heap Memory …
 
static long cssq3lite.Sq3Lite.SoftHeapLimit64 (long N)
  C#: [static] long SoftHeapLimit64(long N) 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

◆ HardHeapLimit64()

static long cssq3lite.Sq3Lite.HardHeapLimit64 ( long N)
inlinestatic

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

Definition at line 1048 of file LibSq3Lite_cs.cs.

1048 {
1049 Int64 __retVal__L = Sq3.Sq3HardHeapLimit64(N);
1050 return __retVal__L;
1051 }

◆ ReleaseMemory()

static void cssq3lite.Sq3Lite.ReleaseMemory ( int N)
inlinestatic

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

Definition at line 1054 of file LibSq3Lite_cs.cs.

1054 {
1055 MkErrorE errVal = Sq3.Sq3ReleaseMemory(N);
1056 if (errVal > MkErrorE.CONTINUE) MkErrorC.Check(errVal);
1057 }
static void Check(IntPtr ctx, MkErrorE err)
MkErrorE

◆ SoftHeapLimit64()

static long cssq3lite.Sq3Lite.SoftHeapLimit64 ( long N)
inlinestatic

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

Definition at line 1060 of file LibSq3Lite_cs.cs.

1060 {
1061 Int64 __retVal__L = Sq3.Sq3SoftHeapLimit64(N);
1062 return __retVal__L;
1063 }