/((09|10|11|12|13|14|15|16|17|18|19|20|21):([0-5]\d))|(22:00)/
foreach ($n as $values) {
if ($values["PROPERTY_DAYTIME_VALUE"] == 1366 && $values["PROPERTY_TYPE_VALUE"] == 1375) {
$arItem[0]["SUBCATEGORY"][0]["PRODUCTS"][] = $values;
}
}
$fields = [
'clientName' => 'name',
'clientPhone' => 'phone',
'clientEmail' => 'email'
];
$where = [];
$resultArr = [];
foreach($fields as $key => $field) {
if($arr[$key]) {
$where[] = "`$field` LIKE ?";
$resultArr[] = '%' . $arr['clientName'] . '%';
}
}
if(count($where) > 0) {
$sql .= ' WHERE ' . implode(' AND ', $where);
}
Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# JVM is running with Zero Based Compressed Oops mode in which the Java heap is
# placed in the first 32GB address space. The Java Heap base address is the
# maximum limit for the native heap growth. Please use -XX:HeapBaseMinAddress
# to set the Java Heap base and to place the Java Heap above 32GB virtual address.