8000 [8.x] Increase reserved memory for error handling by spawnia · Pull Request #42646 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

[8.x] Increase reserved memory for error handling #42646

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 3, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Prev Previous commit
Update HandleExceptions.php
  • Loading branch information
taylorotwell authored Jun 3, 2022
commit 0a9bf86a2341e9d3db36d2da06549e3071ec2386
5 changes: 0 additions & 5 deletions src/Illuminate/Foundation/Bootstrap/HandleExceptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ class HandleExceptions
*/
public function bootstrap(Application $app)
{
// The amount of times to repeat needs to be determined experimentally:
// - save the result of memory_get_peak_usage()
// - trigger error handling through trigger_error()
// - subtract the previous from the current memory_get_peak_usage()
// - divide the result by 1.2 and add some leeway
self::$reservedMemory = str_repeat('x', 32768);

$this->app = $app;
Expand Down
0