#1 2018-06-22 09:19:49

Eric
Member
Registered: 2012-11-26
Posts: 129
Website

Please add soft_heap_limit64 to SynSQLite3

Function is useful under 64bit, when you have many SQLite databases open at the same time, as the cache-size setting is per-database (connection), while this limit is global for the process, so this allows to limit the total cache size.

Relevant snippets below


    /// sets and/or queries the soft limit on the amount of heap memory
    /// that may be allocated by SQLite.
    soft_heap_limit64: function(N: Int64): Int64; cdecl;
   'backup_pagecount','serialize','deserialize','soft_heap_limit64',
   'config','db_config');

Offline

#2 2018-06-22 10:42:45

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: Please add soft_heap_limit64 to SynSQLite3

Offline

#3 2018-06-22 14:22:15

Eric
Member
Registered: 2012-11-26
Posts: 129
Website

Re: Please add soft_heap_limit64 to SynSQLite3

Thanks!

Any chance for SynLZ issue? smile (https://synopse.info/forum/viewtopic.php?pid=27504)

Offline

Board footer

Powered by FluxBB