[xdebug-general] xdebug using a LOT of memory

From: Bill Moran <wmoran[@]collaborativefusion.com>
Date: Thu, 1 Nov 2007 12:38:17 -0400

I was trying to run pgFouine under xdebug:
http://pgfouine.projects.postgresql.org/

If I run the script outside xdebug, it uses 10 - 12M of ram to do its
job. If I run it under xdebug, it uses in excess of 2G of ram, exceeds
the hard limit on data seg size and is killed by the kernel :)

So, have I found a memory leak that I should help debug? Or is this
expected because xdebug needs this kind of memory to do its work?

$ uname -a
FreeBSD vanquish.pitbpa0.priv.collaborativefusion.com 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #9: Tue Jun 5 17:33:30 EDT 2007 root[@]vanquish.pgh.priv.collaborativefusion.com:/usr/obj/usr/src/sys/VANQUISH i386

$ pkg_info | grep php
php-xdebug-2.0.0 Xdebug extension for PHP
php5-5.2.4_1 PHP Scripting Language
php5-pcntl-5.2.4_1 The pcntl shared extension for php
php5-pcre-5.2.4_1 The pcre shared extension for php
php5-pgsql-5.2.4_1 The pgsql shared extension for php
php5-posix-5.2.4_4 The posix shared extension for php
php5-session-5.2.4_1 The session shared extension for php
php5-simplexml-5.2.4_1 The simplexml shared extension for php
php5-soap-5.2.4_1 The soap shared extension for php

-- 
Bill Moran
Collaborative Fusion Inc.
http://people.collaborativefusion.com/~wmoran/
wmoran[@]collaborativefusion.com
Phone: 412-422-3463x4023
Received on Thu Nov 01 2007 - 17:43:27 GMT

This archive was generated by hypermail 2.2.0 : Mon Jun 25 2018 - 06:00:04 BST