PHP code example of tourze / symfony-memory-watch-bundle
1. Go to this page and download the library: Download tourze/symfony-memory-watch-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tourze / symfony-memory-watch-bundle example snippets
return [
// ...
Tourze\MemoryWatchBundle\MemoryWatchBundle::class => ['all' => true],
];
[2024-01-01 12:00:00] app.WARNING: 内存使用超过阈值 {"使用内存":75.5,"内存阈值":"50MB"}