From 741be2b08fe736b8ed0bdf5f4ef7d10886a1e8a8 Mon Sep 17 00:00:00 2001 From: Sebastian Messmer Date: Sun, 29 Nov 2015 21:32:12 +0100 Subject: [PATCH] Reduce memory usage of tests --- test/data/DataTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/data/DataTest.cpp b/test/data/DataTest.cpp index 287313e1..96af8a75 100644 --- a/test/data/DataTest.cpp +++ b/test/data/DataTest.cpp @@ -192,9 +192,9 @@ TEST_F(DataTest, Inequality_DifferentLastByte) { } #ifdef __x86_64__ -//Needs 64bit for representation. This value isn't in the size param list, because the list is also used for read/write checks. TEST_F(DataTest, LargesizeSize) { - uint64_t size = 10L*1024*1024*1024; + //Needs 64bit for representation. This value isn't in the size param list, because the list is also used for read/write checks. + uint64_t size = 4.5L*1024*1024*1024; Data data(size); EXPECT_EQ(size, data.size()); }