Skip to content

Commit

Permalink
Fix dropbox#12 by allocating less memory in test_invariants
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrh committed Jul 18, 2016
1 parent 927635b commit c378cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/lepton/jpgcoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ bool g_skip_validation = false;
size_t local_atoi(const char *data);
namespace TimingHarness {

Sirikata::Array1d<Sirikata::Array1d<uint64_t, NUM_STAGES>, MAX_NUM_THREADS> timing = {{{0}}};
Sirikata::Array1d<Sirikata::Array1d<uint64_t, NUM_STAGES>, MAX_NUM_THREADS> timing = {{{{0}}}};

uint64_t get_time_us(bool force) {
#ifndef _WIN32
Expand Down
4 changes: 2 additions & 2 deletions test_suite/test_invariants.cc
Original file line number Diff line number Diff line change
Expand Up @@ -339,8 +339,8 @@ void test_thread_handoff() {


int main() {
Sirikata::memmgr_init(768 * 1024 * 1024,
64 * 1024 * 1024,
Sirikata::memmgr_init(32 * 1024 * 1024,
16 * 1024 * 1024,
3,
256);
test_thread_handoff();
Expand Down

0 comments on commit c378cbf

Please sign in to comment.