Skip to content
Permalink
Browse files

Reduce tc size in tests

Summary:
I noticed some automated tests are failing because they fail to
allocate memory for the tc.

It looks like part of the problem is that we leave some of the
settings at their defaults - especially some of the newer options.

This updates everything to a more reasonable size.

Reviewed By: swtaarrs

Differential Revision: D6488465

fbshipit-source-id: 014fc2e86ec049b5db8697c3304148ab1ec03a15
  • Loading branch information
markw65 authored and hhvm-bot committed Dec 5, 2017
1 parent 0aaef4b commit fa401d7b98d88cce5dd9a8fcc8bcbbfd7e74be65
Showing with 19 additions and 3 deletions.
  1. +7 −3 hphp/test/config.ini
  2. +4 −0 hphp/test/slow/config.ini
  3. +8 −0 hphp/test/zend/config.ini
@@ -6,10 +6,14 @@ hhvm.force_hh = true
hhvm.enable_obj_destruct_call = true
hhvm.enable_xhp = true
hhvm.enable_zend_compat = true
hhvm.jit_a_size = 15728640
hhvm.jit_a_cold_size = 10485760
hhvm.jit_a_frozen_size = 10485760
hhvm.jit_a_size = 10485760
hhvm.jit_a_cold_size = 4194304
hhvm.jit_a_frozen_size = 6291456
hhvm.jit_a_prof_size = 6291456
hhvm.jit_global_data_size = 2097152
hhvm.thread_tc_main_buffer_size = 1048576
hhvm.thread_tc_cold_buffer_size = 1048576
hhvm.thread_tc_frozen_buffer_size = 1048576
hhvm.http.slow_query_threshold = 0
hhvm.mysql.read_timeout = 5000
hhvm.mysql.slow_query_threshold = 0
@@ -6,7 +6,11 @@ hhvm.enable_zend_compat = true
hhvm.jit_a_size = 10485760
hhvm.jit_a_cold_size = 4194304
hhvm.jit_a_frozen_size = 6291456
hhvm.jit_a_prof_size = 6291456
hhvm.jit_global_data_size = 2097152
hhvm.thread_tc_main_buffer_size = 1048576
hhvm.thread_tc_cold_buffer_size = 1048576
hhvm.thread_tc_frozen_buffer_size = 1048576
hhvm.hack.lang.auto_typecheck = false
hhvm.hack.lang.ints_overflow_to_ints = true
hhvm.hack.lang.look_for_typechecker = false
@@ -4,3 +4,11 @@ hhvm.http.slow_query_threshold = 0
hhvm.mysql.slow_query_threshold = 0
hhvm.mysql.typed_results = false
hhvm.hack.lang.look_for_typechecker = true
hhvm.jit_a_size = 10485760
hhvm.jit_a_cold_size = 4194304
hhvm.jit_a_frozen_size = 6291456
hhvm.jit_a_prof_size = 6291456
hhvm.jit_global_data_size = 2097152
hhvm.thread_tc_main_buffer_size = 1048576
hhvm.thread_tc_cold_buffer_size = 1048576
hhvm.thread_tc_frozen_buffer_size = 1048576

0 comments on commit fa401d7

Please sign in to comment.
You can’t perform that action at this time.