/ Check-in [9d4fe116]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Disable the bigsort.test module on machine with less than 8GB of available RAM or machine, to avoid thrashing.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 9d4fe11641043af4e663085e979f637676599da0
User & Date: drh 2014-12-31 19:58:32
Context
2014-12-31
20:19
Fix a floating-point round-off error problem in the percentile.test module. check-in: 456948ea user: drh tags: trunk
19:58
Disable the bigsort.test module on machine with less than 8GB of available RAM or machine, to avoid thrashing. check-in: 9d4fe116 user: drh tags: trunk
18:55
Change threadtest3.c so that SQLITE_SCHEMA returns result in warnings not hard errors. Add the Darwin-x86_64 platform to releasetest.tcl. check-in: b09a139c user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to test/bigsort.test.

    16     16   
    17     17   #--------------------------------------------------------------------
    18     18   # At one point there was an overflow problem if the product of the 
    19     19   # cache-size and page-size was larger than 2^31. Causing an infinite 
    20     20   # loop if the product was also an integer multiple of 2^32, or 
    21     21   # inefficiency otherwise.
    22     22   #
           23  +# This test causes thrashing on machines with smaller amounts of
           24  +# memory.  Make sure the host has at least 8GB available before running
           25  +# this test.
           26  +#
           27  +if {[catch {exec free | grep Mem:} out] || [lindex $out 1]<8000000} {
           28  +  finish_test
           29  +  return
           30  +}
           31  +
    23     32   do_execsql_test 1.0 {
    24     33     PRAGMA page_size = 1024;
    25     34     CREATE TABLE t1(a, b);
    26     35     BEGIN;
    27     36     WITH data(x,y) AS (
    28     37       SELECT 1, zeroblob(10000)
    29     38       UNION ALL
................................................................................
    35     44   do_execsql_test 1.1 {
    36     45     PRAGMA cache_size = 4194304;
    37     46     CREATE INDEX i1 ON t1(a, b);
    38     47   }
    39     48   
    40     49   
    41     50   finish_test
    42         -
    43         -