Folder eating up my local drive disk space

How to Fix Size of XAMPP Installation Folder Getting Bigger

In a previous post, i showed us how to find and delete files eating up a PC disk space and in it, we could see that XAMPP was the largest consumer of my PC disk space.

One might wonder, how the heck did XAMPP consume such large a size of disk space? turned out if you have xdebug profiling enabled, runtime information about the PHP scripts you execute are written into systems temp folder (by default) which is XAMPP tmp folder in my case.

Folder eating up my local drive disk space

Solution

To stop xdebug from writing runtime information into XAMPP’s temporary “tmp” folder, follow the steps below.

  1. Navigate to C:\path-to-xampp\php
  2. Open the php.ini file and change xdebug.profiler_enable configuration to 0 like so:
    
    xdebug.profiler_enable = 0
    
  3. Save and then restart Apache.

Simple isn’t it?

Don't miss out!
Subscribe To Newsletter

Receive the best WordPress, Git, Web development and programming tutorials.

Invalid email address
Give it a try. You can unsubscribe at any time.