Home
last modified time | relevance | path

Searched refs:memory (Results 1 – 25 of 256) sorted by relevance

1234567891011

/sqlite-3.40.0/test/
H A Ddbstatus.test39 sqlite3 db :memory:
94 # heap and lookaside memory allocated by SQLite, and the memory
98 # and the schema memory again.
107 # same as the difference in total memory in steps 2 and 3.
208 # counted as "schema memory".
213 # for any reason is not counted as "schema memory".
220 # Some of the memory used for sqlite_stat4 is unaccounted for by
250 # lookaside memory allocated by SQLite, and the memory allocated
254 # and the prepared statement memory again.
263 # same as the difference in total memory in steps 2 and 3.
[all …]
H A Djrnlmode.test25 set temp_persist memory
26 set temp_delete memory
27 set temp_truncate memory
123 ATTACH ':memory:' as aux1;
129 } {persist memory}
154 } {off memory memory}
165 } {off memory memory}
176 } [list delete [temp_journal_mode delete] memory memory]
188 } [list delete [temp_journal_mode delete] memory memory memory]
200 } [list truncate [temp_journal_mode truncate] memory memory memory]
[all …]
H A Dshell4.test113 catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace --unknown"
116 catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace off\n.trace off\n"
119 catchcmd ":memory:" ".trace stdout\n.dump\n.trace off\n"
122 catchcmd ":memory:" ".trace stdout\nCREATE TABLE t1(x);SELECT * FROM t1;"
126 catchcmd ":memory:" "CREATE TABLE t1(x);\n.trace stdout\nSELECT * FROM t1;"
134 exec $::CLI_ONLY :memory: --interactive ".read t1.txt"
140 exec $::CLI_ONLY :memory: --interactive ".read t1.txt"
147 catchcmd ":memory:" ".read t1.txt"
H A Dmalloc5.test12 # This file contains test cases focused on the two memory-management APIs,
28 # Only run these tests if memory debugging is turned on.
42 # The sizes of memory allocations from system malloc() might vary,
43 # depending on the memory allocator algorithms used. The following
131 # Try to release another block of memory. This will fail as the only
209 # to ensure that more than 1MB of dynamic memory is used to perform
259 # there are open in-memory databases.
265 sqlite3 db :memory:
284 PRAGMA temp_store = memory;
313 PRAGMA temp_store = memory;
[all …]
H A De_wal.test23 # written even if shared memory is unavailable as long as the
28 # shared-memory methods xShmMap, xShmLock, xShmBarrier, and xShmUnmap on
36 # not support shared memory.
83 # any of the shared-memory methods and hence no shared-memory wal-index
135 # first WAL-mode database access, then the shared-memory wal-index is
150 # a shared-memory wal-index, the locking mode can be changed freely
164 # EVIDENCE-OF: R-10993-11647 It is only when the shared-memory wal-index
184 # support the "version 2" shared-memory.
186 # EVIDENCE-OF: R-55316-21772 If the VFS does not support shared-memory
H A Dwalmode.test181 # Test that it is not possible to change a temporary or in-memory database
184 # walmode-5.1.*: Try to set journal_mode=WAL on [sqlite3 db :memory:] database.
189 sqlite3 db :memory:
191 } {memory}
194 } {memory}
204 } {1 2 memory}
207 } {memory}
214 } {1 2 3 4 memory}
217 set tempJrnlMode memory
279 # Test changing to WAL mode from journal_mode=off or journal_mode=memory
[all …]
H A Dmemleak.test31 # grows, it may mean there is a memory leak in the library.
77 puts -nonewline memory-leak-test-$tail...
82 fail_test memory-leak-test-$tail
91 # Run the malloc tests and the misuse test after memory leak detection.
92 # Both tests leak memory.
H A Dbackup_malloc.test46 error "out of memory"
53 error "out of memory"
64 error "out of memory"
80 error "out of memory"
108 error "out of memory"
H A Dpager2.test24 set sql { PRAGMA journal_mode = memory }
28 PRAGMA journal_mode = memory;
151 # Test that shared in-memory databases seem to work.
159 sqlite3 db1 {file:test.db?mode=memory&cache=shared}
160 sqlite3 db2 {file:test.db?mode=memory&cache=shared}
H A Dmalloc.test17 # due to an out-of-memory situation.
35 # Do a couple of memory dumps just to exercise the memory dump logic
48 error "out of memory"
245 # error "out of memory"
294 error "out of memory"
411 error "out of memory"
418 error "out of memory"
421 error "out of memory"
462 error "out of memory"
510 error "out of memory"
[all …]
H A Dbackup.test125 # * Source database is an in-memory database, OR
128 # * Target database is an in-memory database, OR
147 foreach zSrcFile {test.db :memory:} {
148 foreach zDestFile {test2.db :memory:} {
444 sqlite3 db2 :memory:
491 # 3) Backing up memory-to-file.
495 foreach {writer file} {db test.db db3 test.db db :memory:} {
917 # 10.1.*: If the db is in-memory, the backup is restarted.
924 2 :memory: SQLITE_OK
975 sqlite3 db1 :memory:
[all …]
H A Dmemjournal.test11 # Tests focused on the in-memory journal.
21 PRAGMA journal_mode = memory;
23 } {memory}
H A Dmalloc9.test11 # This file contains additional out-of-memory checks (see malloc.tcl)
12 # added to expose a bug in out-of-memory handling for sqlite3_prepare().
20 # Only run these tests if memory debugging is turned on.
H A Dmalloc7.test11 # This file contains additional out-of-memory checks (see malloc.tcl)
12 # added to expose a bug in out-of-memory handling for sqlite3_prepare16().
20 # Only run these tests if memory debugging is turned on.
H A Dmemjournal2.test11 # Tests focused on the in-memory journal.
21 PRAGMA journal_mode = memory;
23 } {memory}
H A Dmalloc6.test11 # This file attempts to check the library in an out-of-memory situation.
19 # Only run these tests if memory debugging is turned on.
33 error "out of memory"
H A Dshared.test967 sqlite3 db :memory:
1062 sqlite3 db1 file::memory: -uri 1
1063 sqlite3 db2 file::memory: -uri 1
1087 sqlite3 db1 :memory:
1088 sqlite3 db2 :memory:
1097 # Shared cache on named memory databases.
1103 sqlite3 db1 file:test.db?mode=memory -uri 1
1104 sqlite3 db2 file:test.db?mode=memory -uri 1
1123 } {0} ;# Verify that the database is in-memory
1131 sqlite3 db1 file:test1.db?mode=memory -uri 1
[all …]
H A Dincrblob_err.test41 if {$rc} { error "out of memory" }
53 error "out of memory"
68 error "out of memory"
74 error "out of memory"
H A Daltermalloc.test13 # specifically out-of-memory conditions within that command.
33 error "out of memory"
63 set msg "out of memory"
H A Dexclusive2.test103 # is still the same. This is because it uses the in-memory cache.
108 # invalid in-memory cache.
189 # still works. It should be accessing the in-memory cache.
191 # entirely from in-memory cache, because it doesn't check the
195 # in-memory cache. Then it finds the corruption caused in step 4....
200 # to prevent memory-induced cache spills.
H A Dvacuummem.test13 # frees any memory used for a temporary cache.
29 # finished and the temp db closed, all the page-cache memory currently
31 # this causes the total memory usage to drop much more than expected,
H A Dmemdb1.test120 db eval {ATTACH ':memory:' AS aux1}
128 # Do the same with a :memory: database.
131 sqlite3 db :memory:
139 db eval {ATTACH ':memory:' AS aux1}
169 } {truncate off delete delete persist memory off delete}
H A Dtempdb.test61 # Set $::jrnl_in_memory if the journal file is expected to be in-memory.
63 # to be in memory. These variables are used to calculate the expected
87 PRAGMA temp_store = 'memory';
/sqlite-3.40.0/ext/wasm/common/
H A Dwhwasmutil.js237 cache.memory = null;
255 if(!cache.memory){
256 cache.memory = (target.memory instanceof WebAssembly.Memory)
257 ? target.memory : target.exports.memory;
262 const b = cache.memory.buffer;
327 const c = (cache.memory && cache.heapSize === cache.memory.buffer.byteLength)
646 const c = (cache.memory && cache.heapSize === cache.memory.buffer.byteLength)
679 const c = (cache.memory && cache.heapSize === cache.memory.buffer.byteLength)
1671 if(!tgt.instance.exports.memory){
1677 tgt.memory = (config.imports && config.imports.env
[all …]
/sqlite-3.40.0/ext/wasm/jaccwabyt/
H A Djaccwabyt.md181 a Uint8Array or Int8Array view of the WASM memory,
190 the WASM "heap" memory (a byte array), the memory allocator, and the
197 heap: Module['asm']['memory'],
390 heap memory. The correct way to free up that memory is to use the
521 [StructBinderFactory][] configuration (e.g. the memory heap).
548 primarily for accessing the memory (de)allocator and memory. Modifying
563 a different memory heap.
678 not much else. Note that the memory is necessarily, for
694 uncertainties of memory ownership and lifetime in such
717 ownership of that memory and that memory must be valid at
[all …]

1234567891011