Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3932192 bytes) in /home/kingway/public_html/libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/JavascriptRenderer.php on line 1319
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3932192 bytes) (500 Whoops, looks like something went wrong.)

OutOfMemoryError

HTTP 500 Whoops, looks like something went wrong.

Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3932192 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

Show exception properties
Symfony\Component\ErrorHandler\Error\OutOfMemoryError {#60205
  -error: array:4 [
    "type" => 1
    "message" => "Allowed memory size of 134217728 bytes exhausted (tried to allocate 3932192 bytes)"
    "file" => "/home/kingway/public_html/libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/JavascriptRenderer.php"
    "line" => 1319
  ]
}
  1. * @param mixed $suffix
  2. * @return string
  3. */
  4. protected function getAddDatasetCode($requestId, $data, $suffix = null)
  5. {
  6. $js = sprintf("%s.addDataSet(%s, \"%s\"%s);\n",
  7. $this->variableName,
  8. json_encode($data, JSON_HEX_TAG | JSON_HEX_APOS | JSON_HEX_QUOT | JSON_HEX_AMP | JSON_INVALID_UTF8_IGNORE),
  9. $requestId,
  10. $suffix ? ", " . json_encode($suffix) : ''
  11. );

Stack Trace

OutOfMemoryError
Symfony\Component\ErrorHandler\Error\OutOfMemoryError:
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3932192 bytes)

  at /home/kingway/public_html/libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/JavascriptRenderer.php:1319