aboutsummaryrefslogtreecommitdiff
path: root/test/malloc5.test
AgeCommit message (Collapse)AuthorLines
2018-06-02Update a test case in malloc5.test to take into account that malloc()dan-2/+5
sometimes returns slightly more space than requested. FossilOrigin-Name: 3d5eae1c26353cdee89f31f1293b05c0edb494c775ba0912d9b4fda9ab0ef304
2017-07-19Remove some 'breakpoint' commands in test files.mistachkin-1/+0
FossilOrigin-Name: d14fc621e918915bbf8e04597eb238ea78dff3d9c5eb4402cb88692d00dbdfee
2017-03-29Fix some tests in malloc5.test to account for the sqlite3_release_memory()dan-28/+30
change in the previous commit. FossilOrigin-Name: d336858dfcfb9539c43582b1443911df825f9af7146957734bc6f01c8f4d98e3
2017-02-07Update a test parameter in malloc5.test to account for the increase in defaultdan-2/+2
lookaside buffer size. FossilOrigin-Name: be82d5ae20ba62a165bdc28766a8dc8049abcac6
2015-07-24Modify a few test scripts to avoid leaving the sqlite3Config structure in a ↵dan-5/+3
non-default state. FossilOrigin-Name: 562687d9f56bf4bb0f5f07f97cbbb7649c81faf8
2015-07-17More adjustments to the malloc5.test module so that it works correctly withdrh-0/+5
the new pcache1 bulk allocation. FossilOrigin-Name: 2a7b3a440f74019f154496b2f95aa852a46e04fc
2015-07-16Defer the bulk pcache1 memory allocation until the first page allocationdrh-14/+16
request. Limit the size of the pcache1 bulk allocation to the cache_size setting. Deallocate the bulk allocation on a sqlite3_db_release_memory() request, if the bulk allocation is completely unused. FossilOrigin-Name: b79a4affe44bd0c8e155cae19f3f62c715684cd6
2015-06-24Adjustment to a malloc test so that it accepts a narrow range of values todrh-2/+2
account for variations in malloc subsystems. FossilOrigin-Name: e0195070f84f418c46698627a2dcbfcfb94d999c
2015-03-10Revise test cases in malloc5.test to accommodate varying allocationdrh-6/+23
sizes returned by some system malloc() implementations. FossilOrigin-Name: fbae6bafd74d8da9c72be5f562a62f80b01cc846
2013-08-21Minor fixes for test cases. No code changes.dan-0/+2
FossilOrigin-Name: ef2a6a37366f91889dc2f1ba9cb6d1257d9b05db
2012-01-13Fix test case issues related to errors in file-controls and the PSOW flag.dan-2/+2
FossilOrigin-Name: 5afbcd49f92e13d1654c1486e19d7e1bb4d3b024
2011-10-08All the soft_heap_limit to be exceeded by 10% in test cases.drh-1/+1
FossilOrigin-Name: 4be9dccc711c9ad252e2cbd99bbcbe43247503a1
2011-08-02Add retry logic for AV defense to winOpen. Also, refactor test suite to ↵mistachkin-2/+2
allow the key Tcl file operations (e.g. copy and delete) to be retried. FossilOrigin-Name: 9007586fdabed8dbcc78581ea9821cfd1f9a4c8c
2009-04-11Fix malloc5.test so it work on both 64-bit and 32-bit systems. Thedrh-2/+6
::tcl_platform(wordSize) variable has to be used to adjust some memory sizes. (CVS 6499) FossilOrigin-Name: ea20f78edb50778c40ed7f03f894ab898f58d67c
2008-12-30Fix a bug in the multi-index OR cost estimator. Remove leftover "breakpoint"drh-2/+1
commands from test scripts. (CVS 6086) FossilOrigin-Name: b090d5736d7eaec17a39d3133e1587b1d2a42acb
2008-08-27Modifications to malloc5.test to account for the fact that ↵danielk1977-74/+64
sqlite3_release_memory() no longer reclaims dirty pages. (CVS 5625) FossilOrigin-Name: b01c65b065c62e3dd71e88866a953668b5e2f25f
2008-08-21Fix soft-heap-limit related test suite failures. (CVS 5582)danielk1977-12/+15
FossilOrigin-Name: 2091d9a5260b1d7e27ff5ca93e60dae1e3b12081
2008-02-18Add the memory fault simulator to mem5.c. Enable soft heap limit on mem5.c.drh-2/+3
Limit the size of hash tables and the vdbefifo when using mem5.c. (CVS 4795) FossilOrigin-Name: 63da5d97542e4f54c33329833477c8d96ce05dd0
2007-10-03Fix a problem in test script malloc5.test. (CVS 4455)danielk1977-2/+18
FossilOrigin-Name: 028ec36c71d6ac43c8f1cda77578d844c6955f68
2007-09-03Enable threadsafe builds by default in configure. Ticket #2606.drh-2/+2
Changes to test scripts to do better testing under all configurations. (CVS 4379) FossilOrigin-Name: d66e08fd4f12407e565dc9fc53a5802216808378
2007-09-03Handle transient malloc() failures in sqlite3CreateFunc(). (CVS 4371)danielk1977-3/+4
FossilOrigin-Name: c0ce63196458c81e0859fc8a38f2dd2145a580bc
2007-08-28Add some comments and test-cases for the global lru page list (used by ↵danielk1977-2/+118
sqlite3_release_memory()). (CVS 4308) FossilOrigin-Name: 0b80168895993af5774369f839f284712d006f0a
2007-08-22All of the malloc test cases run. Still seeing failures in malloc4.test. ↵drh-10/+11
(CVS 4272) FossilOrigin-Name: 205d0b881d541db65837ce6cf44d58d607635bc2
2007-08-12Updates to test scripts for better support of soft-heap-limit testing. (CVS ↵drh-1/+2
4209) FossilOrigin-Name: 990f621f2247f1636e895dcf51fea1e08f202d31
2007-08-10Add the --soft-heap-limit=N option to the test scripts. Set this value todrh-1/+2
enforce a soft heap limit across all tests. This changes exposes several new bugs. (CVS 4202) FossilOrigin-Name: 8be845981654d2a846c95c699395af222b6c3b43
2007-04-07Make sure autovacuum is turned off for malloc5.test. (CVS 3826)drh-2/+2
FossilOrigin-Name: 105a7efb090a5619e82a7e2931d4d3e080e6465a
2007-04-05Avoid attempting to reclaim memory from in-memory databases in ↵danielk1977-2/+35
sqlite3_release_memory(). (CVS 3812) FossilOrigin-Name: c20f7563c0ffa1df47df5464f1f1cc4703ffa9b4
2007-04-02Fix a resource leak introduced by the change-counter optimisation. Also add ↵danielk1977-1/+5
some test coverage. (CVS 3790) FossilOrigin-Name: ba0538a4977aefd6645554f1989f0a98b540b9cd
2006-01-19Account for read-uncommitted cursors in sqlite3BtreeClearTable(). (CVS 2977)danielk1977-1/+3
FossilOrigin-Name: 950798326860de40926e82e10134f09e6ea86245
2006-01-16Fix problems compiling with memory-management enabled. Ticket #1619. (CVS 2960)danielk1977-3/+1
FossilOrigin-Name: 36b03259654ffa9b14ebe1093984b29e9efbd56c
2006-01-09Add a runtime interface to enable memory-management features. (CVS 2894)danielk1977-2/+16
FossilOrigin-Name: 44f8e3139aa3ad3fcce9028565dd9ad23bbe62a2
2006-01-05Move TCL interface for sqlite3_release_memory() and sqlite3_soft_heap_limit()drh-15/+13
out of tclsqlite.c and into test1.c. Update the TCL interface documention to describe the "exists" method. (CVS 2862) FossilOrigin-Name: 98194a45cc60cb9942847f773bc797fb5463bd10
2005-12-30Add part of the btree layer of the shared-cache feature. (CVS 2848)danielk1977-3/+18
FossilOrigin-Name: 2afcad990190af97d1ad0010f211a5ca8f0fd745
2005-12-20Add simple tests and fixes for sqlite3_soft_heap_limit() (CVS 2837)danielk1977-2/+70
FossilOrigin-Name: c2c5285442f4558dfca61b52f31b5a9cbefaed10
2005-12-19Add some very simple test cases (and resulting bug fixes) for ↵danielk1977-0/+128
release_memory(). (CVS 2826) FossilOrigin-Name: 154282fca54bf03d310d6931660f99805bb5477f