Skip to content

Commit

Permalink
Decrease batch size pt avoid out of memory exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
anvmn committed Mar 3, 2024
1 parent d4151ac commit f41cf6a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ function hedley_ncda_generate_results_data($province, $district, $sector, $cell,

$data = [];
$nid = 0;
$batch = 500;
$batch = 400;
while (TRUE) {
// Free up memory.
drupal_static_reset();
Expand Down

0 comments on commit f41cf6a

Please sign in to comment.