Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1052672 bytes) in /www/wwwroot/jxmingxin.cn/addons/ldcms/controller/Sitemap.php on line 39

[1] ErrorException in Sitemap.php line 39

Allowed memory size of 134217728 bytes exhausted (tried to allocate 1052672 bytes)

  1. $list[] = $this->makeNode($item['url'], date('Y-m-d'), '0.80');
  2. $doclist = $document->getHomeList(['cid' => $item['id']]);
  3. foreach ($doclist as $doc) {
  4. if ($doc['mid'] == 1) {
  5. continue;
  6. }
  7. if ($item['outlink']) {
  8. continue;
  9. }
  10. $list[] = $this->makeNode($doc['url'], date('Y-m-d'));
  11. }
  12. }
  13. return Response::create($list, 'xml', 200, [], $this->options);
  14. }
  15. // 生成结点信息
  16. private function makeNode($link, $date, $priority = '0.60')
  17. {
  18. return [

Call Stack

  1. in Sitemap.php line 39
  2. at Error::appShutdown()

Environment Variables

GET Data
empty
POST Data
empty
Files
empty

Cookies

frontend_language
zh-cn
backend_language
zh-cn
Session
empty

Server/Request Data

USER
www
HOME
/home/www
HTTP_X_FORWARDED_PROTO
https
HTTP_CF_VISITOR
{"scheme":"https"}
HTTP_CF_IPCOUNTRY
US
HTTP_CF_CONNECTING_IP
216.73.216.151
HTTP_CDN_LOOP
cloudflare; loops=1
HTTP_CF_RAY
a434620d08aa8020-CMH
HTTP_ACCEPT_ENCODING
gzip, br
HTTP_REFERER
https://jxmingxin.cn/sitemap.xml
HTTP_ACCEPT
*/*
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; [email protected])
HTTP_X_FORWARDED_FOR
216.73.216.151
HTTP_HOST
www.jxmingxin.cn
PATH_INFO
//sitemap.xml
REDIRECT_STATUS
200
SERVER_NAME
www.jxmingxin.cn
SERVER_PORT
443
SERVER_ADDR
172.17.189.77
REMOTE_PORT
10114
REMOTE_ADDR
104.23.243.228
SERVER_SOFTWARE
nginx/1.24.0
GATEWAY_INTERFACE
CGI/1.1
HTTPS
on
REQUEST_SCHEME
https
SERVER_PROTOCOL
HTTP/2.0
DOCUMENT_ROOT
/www/wwwroot/jxmingxin.cn/public
DOCUMENT_URI
/index.php
REQUEST_URI
/sitemap.xml
SCRIPT_NAME
/index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD
GET
QUERY_STRING
s=//sitemap.xml
SCRIPT_FILENAME
/www/wwwroot/jxmingxin.cn/public/index.php
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1790783424.1514
REQUEST_TIME
1790783424
Environment Variables
empty

ThinkPHP Constants

APP_PATH
/www/wwwroot/jxmingxin.cn/public/../application/
THINK_VERSION
5.0.26
THINK_START_TIME
1790783424.1519
THINK_START_MEM
408984
EXT
.php
DS
/
THINK_PATH
/www/wwwroot/jxmingxin.cn/thinkphp/
LIB_PATH
/www/wwwroot/jxmingxin.cn/thinkphp/library/
CORE_PATH
/www/wwwroot/jxmingxin.cn/thinkphp/library/think/
TRAIT_PATH
/www/wwwroot/jxmingxin.cn/thinkphp/library/traits/
ROOT_PATH
/www/wwwroot/jxmingxin.cn/
EXTEND_PATH
/www/wwwroot/jxmingxin.cn/extend/
VENDOR_PATH
/www/wwwroot/jxmingxin.cn/vendor/
RUNTIME_PATH
/www/wwwroot/jxmingxin.cn/runtime/
LOG_PATH
/www/wwwroot/jxmingxin.cn/runtime/log/
CACHE_PATH
/www/wwwroot/jxmingxin.cn/runtime/cache/
TEMP_PATH
/www/wwwroot/jxmingxin.cn/runtime/temp/
CONF_PATH
/www/wwwroot/jxmingxin.cn/public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
false
FILTER_VALIDATE_BOOL
258
HTMLPURIFIER_PREFIX
/www/wwwroot/jxmingxin.cn/vendor/ezyang/htmlpurifier/library
ADDON_PATH
/www/wwwroot/jxmingxin.cn/addons/