GithubHelp home page GithubHelp logo

Possible memory leak about padawan.php HOT 4 CLOSED

padawan-php avatar padawan-php commented on August 12, 2024
Possible memory leak

from padawan.php.

Comments (4)

jludwig avatar jludwig commented on August 12, 2024

It might be related to Symfony\Component\VarDumper\Tests\Fixtures\NotLoadableClass. Before fixing the class to not extend itself, I encountered the same error rather than a segfault.

from padawan.php.

mkusher avatar mkusher commented on August 12, 2024

@jludwig so, is it a duplicate of #42 ?

from padawan.php.

mkusher avatar mkusher commented on August 12, 2024

Duplicate of #42

from padawan.php.

jludwig avatar jludwig commented on August 12, 2024

@mkusher

I installed etsy/phan and ran into the same issue during padawan generate:

[2016-06-08 10:04:07] completer.INFO: Progress: 12% [] []
[2016-06-08 10:04:07] completer.INFO: processing vendor/etsy/phan/tests/files/src/0149_inheritance_loops.php [] []
[2016-06-08 10:04:07] completer.DEBUG: Cache status: disabled [] []
[2016-06-08 10:04:07] completer.INFO: Traversing with 1 processors [] []
[2016-06-08 10:04:07] completer.INFO: Found 6 nodes [] []
[2016-06-08 10:04:07] completer.INFO: Parsing: [0.00036001205444336]s [] []
[2016-06-08 10:04:07] completer.DEBUG: Processing nodes 6 [] []
[2016-06-08 10:04:07] completer.DEBUG: Processing node C [] []
PHP Fatal error:  Allowed memory size of 2147483648 bytes exhausted (tried to allocate 33554432 bytes) in /home/jludwig/workspace/cyberlard/vendor/mkusher/padawan/src/Entity/Collection/MethodsCollection.php on line 66
Fatal error: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 33554432 bytes) in /home/jludwig/workspace/cyberlard/vendor/mkusher/padawan/src/Entity/Collection/MethodsCollection.php on line 66

It's a test with the same thing that ended up crashing #42, classes extending themselves. I have not run into it anywhere else, so unless Siprah comes back and says otherwise, I do believe it is a duplicate.

<?php

class C extends C {}


class E extends F {}
class F extends E {}

class G extends H {}
class H extends I {}
class I extends G {}

from padawan.php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.