Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
November 20, 2014
Chris
PHPStorm
0

When PHPStorm’s cache eats up your harddisk space

PreviousNext
phpstorm-8

I recently stumbled over this: By default PHPStorm (obviously in all versions since 1.0) creates a local history of all your “changes”. And this cache size is not really limited and also does not reset from time to time automatically, resulting in extremely big cache files. There are reports of folder sizes of 25 GBs (which might become critical when using a 64GB SSD). Have a look into the application’s system\LocalHistory folder (on Windows systems in C:\Users\YOURUSERNAME\.WebIde80\):

phpstorm-cache-size-harddisk-before

PHPStorm offers a native trigger to reset these cache file, directly in File > Invalidate Caches / Restart. Do that. Remember that this will remove the “latest” file change history, and you’ll not be able to undo your “last” steps. But in the age of version controlling this shouldn’t be a problem.

delete-phpstorm-cache

Afterwards, your history cache files are reset to 0 kb. PHPStorm will build up a new file change history over time.

This article was written quite a while ago (8 years), please keep this in mind when using the information written here. Links, code and commands might be outdated or broken.

Random articles

  • PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)PHPStorm: 42 Tips and Tricks (47min video talk by Mikhail Vink at Dutch PHP Conference 2015)
  • What’s new in PHPStorm 9What’s new in PHPStorm 9
  • Get Github’s code colors in PHPStorm (2014 style)Get Github’s code colors in PHPStorm (2014 style)
  • PHPStorm 8 has just been releasedPHPStorm 8 has just been released
  • Get Github’s syntax highlighting colors in PHPStormGet Github’s syntax highlighting colors in PHPStorm
  • A perfect video tutorial to get started with xdebug in PHPStormA perfect video tutorial to get started with xdebug in PHPStorm
  • Sitepoint asks for your favourite PHP IDE – take part!Sitepoint asks for your favourite PHP IDE – take part!
  • Killer-feature in PHPStorm: Search everywhereKiller-feature in PHPStorm: Search everywhere
  • Vote for “Hack” for HipHop/HHMV support (future style PHP) in PHPStorm 8Vote for “Hack” for HipHop/HHMV support (future style PHP) in PHPStorm 8
PHPStorm
Share this

Leave A Comment Cancel reply

digitalocean coupon

Free $10 coupon for DigitalOcean SSD cloud VPS hosting

DigitalOcean puts out another coupon, this time for free $10 with the code SSD2014. The company offers small and big

“Fuck you. Pay Me.” How to deal with clients, the professional way. An excellent talk with Mike Monteiro.

Excellent (and very useful) speech by Mike Monteiro about how to deal with clients, how to create a professional relation

Microsoft announces “holographic” 3D interfaces (promo video)

Microsoft has just announces the damn future in business und consumer electronics! Interactive, “holographic” 3D environments, usable without a keyboard,

cheap cloud server php

DigitalOcean rolls out interesting feature: Transfering server snapshots directly to the client’s account

Today DigitalOcean has rolled out a quite interesting new feature: You are now able to transfer a server snapshot (which

nginx php 5.5

[Link] Set up Nginx with PHP 5.5 easily

As there are surprisingly no good tutorials on how to set up NGINX with PHP 5.5 properly, here’s an excellent

Disappointed by Watch Dogs’s graphics ? See how it looks with unlocked, hidden settings. Awesome!

When you are interested in 3D and game graphics in general, you probably stumbled upon these excellent and extremely good-looking

phpstorm-8

PHPStorm 8 has just been released

The excellent PHP IDE PHPStorm just had a major release these days: Version 8 is out, coming with latest PHP

battlefield-3-free

Electronic Arts / Origin offers Battlefield 3 for free (limited promo action) !

A little bit off-topic, but definitly cool: EA offers the award-winning Battlefield 3 for free these days, but only for

php

PHP 5.6 announced, statically typed (!) “new” PHP announced by Facebook devs

PHP 5.6 goes alpha PHP 5.6 has been announced for a while now, and these days things get serious (code-freeze,

php

Awesome list of Design Patterns with PHP code examples

Probably one of the most useful GitHub repositories ever: Dominik Liebler has published a well-reseached and well-written (PSR coding guidelines

1/4

Categories

Search

How to get a single table out of a massive MySQL .sql database backup file (mysql dump splitter)
angularjs
Two excellent introductions into AngularJS by Todd Motto
php
Why Modern PHP is Awesome And How You Can Use It Today (Slides by Matt Stauffer)
bitdeli git github stats
php-login goes #2 PHP script worldwide in BitDeli stats
Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines
js javascript
Push database changes to all clients in real-time (!) with AngularJS and Firebase
php uk conference
PHP Caching Best Practices by Eli White (video from PHP UK Conference 2014)
vagrant
A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)
gamescom 2014 trailers
GAMESCOM 2014: Awesome Next-Gen ingame graphics
nginx php 5.5
[Link] Set up Nginx with PHP 5.5 easily
php uk conference
PHP Opcache Explained by Julien Pauli (video from PHP UK Conference 2014)
php
How to use the PHP 5.5 password hashing functions
Going node.js at Netflix (Slides by Micah R of Netflix)
Useful basic linux stuff: Show kernel version, distribution name and distribution version on Ubuntu systems
php
Test out PHP 5.6alpha1 on Windows 7 / 8 with two clicks

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy
 
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT