Announcement

Collapse
No announcement yet.

debugging memory usage

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • debugging memory usage

    Hi,
    I've been handed a big OOP PHP project built using the Laravel framework that's suffering from memory leaks, PHP is using about 270MB!
    Any pointers on where to start looking? this seems like a daunting task
    thanks
    Reiss

  • #2
    I would look for any mysql connections open or any connections to other servers, like fsocket or whatever. Anything that needs a close function. I also seen if there are a lot of mysql connections maybe they need to be cached instead of opening a new connection each time. That's just off the top of my head
    Have a Script or Snippet you want to share?

    WWW Standards: HTML 4.01,
    HTML 5, CSS2.1, CSS3, XHTML 1.0
    PHP Standards: PHP Standards

    Comment


    • #3
      thanks Scoutt, will take a look.
      Haven't had chance to dig into it deeper yet.

      Comment

      Working...
      X