title: How to trace PHP errors?
body: <p>I get the following error:</p>
  
  <pre><code>[23-Feb-2011 19:51:29] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 512 bytes) in /obj/class.db.php on line 60
  </code></pre>
  
  <p>My problem is that I don't know where this error happens. Line 60 of class.db.php is one of the most used functions in my application (Database Read() function).</p>
  
  <p>How can I trace back where this error originates from? </p>