|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2018-08-15 10:46 UTC] a at b dot c dot de
[2020-10-23 12:37 UTC] cmb@php.net
-Status: Open
+Status: Feedback
-Assigned To:
+Assigned To: cmb
[2020-10-23 12:37 UTC] cmb@php.net
[2020-11-01 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Nov 06 04:00:02 2025 UTC |
Description: ------------ I'm running Ubuntu 18.04 with ppa:ondrej/php in the Linux Sub-System under Windows. PHP-Version: PHP 7.0.30-1+ubuntu18.04.1+deb.sury.org+1 (cli) (built: May 2 2018 12:44:20) ( NTS ) This is the error message: Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 7526411575186646379 bytes) in /mnt/c/Projects/shop/engine/Library/Customweb/Annotation/ReflectionAnnotatedMethod.php on line 15 Unfortunatly I have not idea what caused the bug. A restart of the PHP7.0-fpm process solved the issue for me. The test script contains the script that caused the problem, but I have no idea, what the exact problem is. I'm very sorry on this superficial bug report, but I have no further idea, how to reproduce this again. If I have further details, I will add them later. Test script: --------------- <?php require_once 'Customweb/Annotation/IAnnotationReflector.php'; require_once 'Customweb/Annotation/AnnotationsBuilder.php'; require_once 'Customweb/Annotation/ReflectionAnnotatedClass.php'; class Customweb_Annotation_ReflectionAnnotatedMethod extends ReflectionMethod implements Customweb_Annotation_IAnnotationReflector { private $annotations; public function __construct($class, $name) { parent::__construct($class, $name); // This is the line, that caused the error $this->annotations = $this->createAnnotationBuilder()->build($this); }