dbg and memory limits |
Site Admin
|
yes debugger allocates some memory and maintains some internal lists so you would be able to start debug session in the middle of execution. But it's about a few extra kilobytes.
I think that something is wrong with your php setup. At least, why the other sites do not get the same trouble? Please contact support and provide further details on the issue. I hope a solution will be found quickly. |
||||||||||||
_________________ The PHP IDE team |
|
I think the problem only occures with this site because it runs on Drupal.. I guess Drupal takes some extra memory.
I'll contact support, thanks for the help. |
||||||||||||
|
Site Admin
|
Well, I just checked Joomla + dbg (sorry I have no drupal there)
Debugger itself allocated only 32KB in peak. But, due to the fact that php compiler issues additinal php instructions to support debugging, memory consuption grew from 7425KB to 9984K or approx extra ~16kB per module. You see, debugger has nothing to do with this. |
||||||||||||
_________________ The PHP IDE team |
|
So what do you think can be the problem?
When I comment the extension in php.ini everything is fine! I'll do more tests soon and will update the thread.. |
||||||||||||
|
|
I found the problem. In Drupal, /sites/MY_SITE/settings.php, I had a rule overwriting the memory limit in php.ini:
ini_set('memory_limit', '12M'); I changed this to ini_set('memory_limit', '32M'); And now it's working. I find it strange that adding the debugger extension make the memory bust 12M though.. I've never had any memory problem with this site, with the 12M limit. Anyway, problem solved! Thanks for the help! |
||||||||||||
|
Site Admin
|
As I explained two posts before, when debugger is loaded, PHP Compiler (php core) emits debugger opcodes and for example in case of Joomla, their size is quite noticable, ~2.5MB (or 16.7kB per file), depends on number of executable lines in the script and nothing else.
|
||||||||||||
_________________ The PHP IDE team |
dbg and memory limits |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by