Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes)
while ($offset < $numofids) {
$incrm = (($numofids - $offset) >= $this->maxNumberForRequest ? $this->maxNumberForRequest : ($numofids - $offset));
$idsoffset = array_slice($ids, $offset, $incrm);
$idstring = $this->getIdsString($idsoffset);
$url = $da . self::api . self::person . "/" . $idstring . "/" . self::json;
$c = $this->getContent($url);
$rawpersons = json_decode($c); //$this->getContent($url));
if (empty($rawpersons)) {
//return NULL;
} else if ($getRAW === TRUE) {
$persons = array_merge($persons, $rawpersons);
} else {
$persons = array_merge($persons, $this->getPersons($rawpersons, $getKilde));
[internal]
os | Linux hbr-deployment-6f59c5765b-rf256 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64 |
server time | 2023-05-31 19:20:53 UTC |
HTTPS
(2) "on"
HTTP_HOST
(10) "histreg.no"
HTTP_X_REQUEST_ID
(32) "09920d6fe8da25a2ce2170969d4f2075"
HTTP_X_REAL_IP
(12) "128.39.57.53"
HTTP_X_FORWARDED_FOR
(12) "128.39.57.53"
HTTP_X_FORWARDED_HOST
(10) "histreg.no"
HTTP_X_FORWARDED_PORT
(3) "443"
HTTP_X_FORWARDED_PROTO
(5) "https"
HTTP_X_FORWARDED_SCHEME
(5) "https"
HTTP_X_SCHEME
(5) "https"
HTTP_USER_AGENT
(40) "CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_ACCEPT
(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_LANGUAGE
(14) "en-US,en;q=0.5"
HTTP_ACCEPT_ENCODING
(7) "br,gzip"
PATH
(60) "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
SERVER_SIGNATURE
(71) "<address>Apache/2.4.56 (Debian) Server at histreg.no Port 80</address>\n"
SERVER_SOFTWARE
(22) "Apache/2.4.56 (Debian)"
SERVER_NAME
(10) "histreg.no"
SERVER_ADDR
(11) "172.20.5.30"
SERVER_PORT
(2) "80"
REMOTE_ADDR
(12) "172.20.3.178"
DOCUMENT_ROOT
(13) "/var/www/html"
REQUEST_SCHEME
(4) "http"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
(13) "/var/www/html"
SERVER_ADMIN
(19) "webmaster@localhost"
SCRIPT_FILENAME
(23) "/var/www/html/index.php"
REMOTE_PORT
(5) "55280"
GATEWAY_INTERFACE
(7) "CGI/1.1"
SERVER_PROTOCOL
(8) "HTTP/1.1"
REQUEST_METHOD
(3) "GET"
QUERY_STRING
""
REQUEST_URI
(34) "/index.php/person/pf01036335007011"
SCRIPT_NAME
(10) "/index.php"
PATH_INFO
(24) "/person/pf01036335007011"
PATH_TRANSLATED
(37) "/var/www/html/person/pf01036335007011"
PHP_SELF
(34) "/index.php/person/pf01036335007011"
REQUEST_TIME_FLOAT
1685560824.5368
REQUEST_TIME
1685560824