Cs-Cart Memory_Limit

Does anyone know where CSC sets the memory_limit? It used to be in /config.local.php but it looks like they removed it in 4.9.2.

// Set maximum memory limit
if (PHP_INT_SIZE == 4 && (substr(ini_get('memory_limit'), 0, -1) < "64")) {
  // 32bit PHP
  @ini_set('memory_limit', '64M');
} elseif (PHP_INT_SIZE == 8 && (substr(ini_get('memory_limit'), 0, -1) < "256")) {
  // 64bit PHP
  @ini_set('memory_limit', '256M');
}

I went ahead and added the following to /config.local.php and it worked.

// Set maximum memory limit
@ini_set('memory_limit', '512M');

It is now in app/Tygh/Bootstrap.php

Got it. Thanks eCom.

I went ahead and added the following to /config.local.php and it worked.

// Set maximum memory limit
@ini_set('memory_limit', '512M');

what prompted you to increase memory limit?

what prompted you to increase memory limit?

I don't recall the exact issue I was having but 256 has never been enough for my store. I have had it set at 512 forever but like I stated in the original post, CSC removed it and I began having memory issues.

I don't recall the exact issue I was having but 256 has never been enough for my store. I have had it set at 512 forever but like I stated in the original post, CSC removed it and I began having memory issues.

same