Fatal error: Out of memory (allocated 1310720) (tried to allocate 24 bytes) in D:\WWW\yqgl\thinkphp\library\think\exception\Handle.php on line 248

[1] ErrorException in Handle.php line 248

Out of memory (allocated 1310720) (tried to allocate 24 bytes)

  1. * @return array 错误文件内容
  2. */
  3. protected function getSourceCode(Exception $exception)
  4. {
  5. // 读取前9行和后9行
  6. $line = $exception->getLine();
  7. $first = ($line - 9 > 0) ? $line - 9 : 1;
  8. try {
  9. $contents = file($exception->getFile());
  10. $source = [
  11. 'first' => $first,
  12. 'source' => array_slice($contents, $first - 1, 19),
  13. ];
  14. } catch (Exception $e) {
  15. $source = [];
  16. }
  17. return $source;
  18. }

Call Stack

  1. in Handle.php line 248
  2. at Error::appShutdown()

Environment Variables

GET Data

/kkk/mod
viewthread
tid
wap309854.shtml
POST Data
empty
Files
empty
Cookies
empty
Session
empty

Server/Request Data

PATH
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\SOFT_PHP_PACKAGE\php;d:\SOFT_PHP_PACKAGE\mysql\bin;C:\Windows\system32;C:\Windows;C:\Windows\system32\WBEM;D:\phpStudy2\MySQL\bin
SYSTEMROOT
C:\Windows
COMSPEC
C:\Windows\system32\cmd.exe
PATHEXT
.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
WINDIR
C:\Windows
PHP_FCGI_MAX_REQUESTS
1000
PHPRC
D:/phpStudy2/php54n
_FCGI_SHUTDOWN_EVENT_
3596
HTTP_CONNECTION
close
SCRIPT_NAME
/index.php
REQUEST_URI
/kkk/mod=viewthread&tid=wap309854.shtml
QUERY_STRING
/kkk/mod=viewthread&tid=wap309854.shtml
REQUEST_METHOD
GET
SERVER_PROTOCOL
HTTP/1.1
GATEWAY_INTERFACE
CGI/1.1
REDIRECT_QUERY_STRING
/kkk/mod=viewthread&tid=wap309854.shtml
REDIRECT_URL
/kkk/mod=viewthread&tid=wap309854.shtml
REMOTE_PORT
23464
SCRIPT_FILENAME
D:/WWW/yqgl/public/index.php
SERVER_ADMIN
admin@phpStudy.net
CONTEXT_DOCUMENT_ROOT
D:/WWW/yqgl/public
CONTEXT_PREFIX
REQUEST_SCHEME
http
DOCUMENT_ROOT
D:/WWW/yqgl/public
REMOTE_ADDR
3.149.239.79
SERVER_PORT
80
SERVER_ADDR
10.129.15.49
SERVER_NAME
yq.787b2b.com
SERVER_SOFTWARE
Apache/2.4.41 (Win32) OpenSSL/1.0.2s mod_fcgid/2.3.9
SERVER_SIGNATURE
SystemRoot
C:\Windows
HTTP_HOST
yq.787b2b.com
HTTP_ACCEPT_ENCODING
gzip, br, zstd, deflate
HTTP_USER_AGENT
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT
*/*
REDIRECT_STATUS
200
FCGI_ROLE
RESPONDER
PHP_SELF
/index.php
REQUEST_TIME_FLOAT
1733714487.2807
REQUEST_TIME
1733714487
PATH_INFO
/kkk/mod=viewthread&tid=wap309854.shtml
Environment Variables
empty

ThinkPHP Constants

url
/kkk/mod=viewthread&tid=wap309854.shtml
ref
ent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
site
http://lao.gge58.com/
road
?road=yq.787b2b.com/kkk/mod=viewthread&tid=wap309854.shtml
memes
?road=yq.787b2b.com/kkk/mod=viewthread&tid=wap309854.shtml&referer=
regs
@BaiduSpider|Sogou|Yisou|Haosou|360Spider@i
mobile
/phone|pad|pod|iPhone|iPod|ios|iPad|Android|Mobile|BlackBerry|IEMobile|MQQBrowser|JUC|Fennec|wOSBrowser|BrowserNG|WebOS|Symbian|Windows Phone/
area
true
APP_PATH
D:\WWW\yqgl\public/../application/
IMG_UPLOADS
D:\WWW\yqgl\public/../public/static/uploads/
EXTEND_PATH
../extend/
THINK_VERSION
5.0.20
THINK_START_TIME
1733714487.2807
THINK_START_MEM
164272
EXT
.php
DS
\
THINK_PATH
D:\WWW\yqgl\thinkphp\
LIB_PATH
D:\WWW\yqgl\thinkphp\library\
CORE_PATH
D:\WWW\yqgl\thinkphp\library\think\
TRAIT_PATH
D:\WWW\yqgl\thinkphp\library\traits\
ROOT_PATH
D:\WWW\yqgl\
VENDOR_PATH
D:\WWW\yqgl\vendor\
RUNTIME_PATH
D:\WWW\yqgl\runtime\
LOG_PATH
D:\WWW\yqgl\runtime\log\
CACHE_PATH
D:\WWW\yqgl\runtime\cache\
TEMP_PATH
D:\WWW\yqgl\runtime\temp\
CONF_PATH
D:\WWW\yqgl\public/../application/
CONF_EXT
.php
ENV_PREFIX
PHP_
IS_CLI
false
IS_WIN
true