22

wamp tmp folder takes some GB's of space while running magento in localhost ,

like this some files are created in Wamp/tmp folder, while i using magento
cachegrind.out.1367384833
cachegrind.out.1367384834
cachegrind.out.1367384835

file contain code like this

version: 1
creator: xdebug 2.2.0
cmd: C:\wamp\www\magento\index.php
part: 1
positions: line

like this it contain some 80k lines in each file
how to solve this problem?
thanks in Advance

balaji
  • 291
  • 1
  • 4
  • 13

1 Answers1

49

That seems to be due to profiling enabled in Xdebug. Set xdebug.profiler_enable=0 in your php.ini and restart the server to see if it fixes the issue.

Francis Kim
  • 4,235
  • 4
  • 36
  • 51
  • 1
    By default it was like this xdebug.profiler_enable = On i've to change "On" to "0" – balaji May 01 '13 at 05:50
  • @jee try Off as well I suppose... let me know how you go. There are some settings here to try as well: http://stackoverflow.com/questions/5663077/xdebug-and-no-profiling-output – Francis Kim May 01 '13 at 06:13
  • 1
    omg this saved my LIFE! I was struggling with magento being insanely slow, and now that i turned the xdebug profiler off it is at least 3-4 times faster, page loads now take 2-3 seconds instead of 10-15 on localhost. THANK YOU! – A. Sallai Jun 21 '13 at 09:59
  • It also helped me to solve such disk space issue in symfony 2 assetic:dump --watch command. Thanks. – pliashkou Jan 06 '14 at 16:51
  • 1
    Absolute life saver! Been diabolical how slow my local environment has been! – evensis Nov 09 '15 at 12:12
  • Perhaps they changed it but what worked for me in 2023 was to change xdebug.mode to "off". The profiler_enable setting had no effect. Regardless, this pointed me in the right direction and has saved my local environment. Thanks! – Hobbes Jul 05 '23 at 23:36