Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 bytes) in /home/kingway/public_html/libraries/vendor/php-debugbar/php-debugbar/src/DebugBar/JavascriptRenderer.php on line 1321
Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2097152 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 2097152 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

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

Stack Trace

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

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