OutOfMemoryError

HTTP 500 Whoops, looks like something went wrong.

Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 10489856 bytes)

Exception

Symfony\Component\ErrorHandler\Error\ OutOfMemoryError

  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),
  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 536870912 bytes exhausted (tried to allocate 10489856 bytes)

  at /home/keram23/public_html/libraries/vendor/maximebf/debugbar/src/DebugBar/JavascriptRenderer.php:1183