Laur IVAN

Android Studio: Change the Cache Location

Posted by in IT

Note: This is an updated article to reflect the stable release of AS. If you are looking for the old one, please see here. Android Studio (AS) creates a local directory .AndroidStudio to cache its own data. In most environments, this is acceptable. However, the size of the directory can easily exceed 300Mb and, if you have a space constraint on your home drive (or a roaming profile in windows), this may be better off in some other place. The location of this directory is placed in an idea.properties file…read more

Set Up a Local DNS with Synology DiskStation

Posted by in IT

The last days I tried to set up a local DNS cache thing on my Synology, just to use up the CPU a bit more. Why? Because once the request is in the cache, it’s much faster :) So, here is a simple tutorial to set up the DNS on your Synology box. Prerequisites There are, of course some prerequisites to all this: A Synology box. I have a DS1515+, but AFAIK any will work Your DNS addresses. All ISPs have their own, but you can get Google’s too An…read more

PyCharm: Change the location of .PyCharmXX

Posted by in IT

In the good practice of IntelliJ application, PyCharm creates its own cache directory in your home. Mind you this can get really big (300Mb+) and if you sync your home with a networked drive, you’ll get penalised (time-wise). Following this discovery (my login/logout time is up to 30mins because of this and other files), I looked for a way to put this content in a place which is not backed up. The generic solution is presented here. My PyCharm-specific solution is: Locate the place where you’ve installed you AS (e.g….read more

Android Studio: Change the Cache Location (AndroidStudioBeta)

Posted by in IT

Android Studio (AS) creates a directory .AndroidStudioBeta (which will likely be .AndroidStudio once it’s launched officially). This happens for each user and looks like a cache directory, where local bits are stored. Unfortunately, the size of mine (after only a couple of projects) is of about 350Mb (1200+ files, almost 200 dirs) and this gets taxed since my home dire gets synced at login/logout with a networked drive. Following the steps described in the “universal” solution, I ended up with: Locate the place where you’ve installed you AS (e.g. C:\Program Files\Android Studio)…read more

IntelliJ: Change the default cache location (e.g. .IntelliJIdeaXX)

Posted by in Software

Everything started from a problem I had with PyCharm, where it would create a “.PyCharm30” directory in my home, which would end up being about 300Mb, with a lot of files (2000+files, approx 200 directories). This gets taxed since my home dire gets synced at login/logout with a networked drive. Fortunately, there’s a way to change this default location to a non-backed-up place (e.g. I have in my home a no-backup directory which is passed over on sync). Steps are as follows: Locate the place where you’ve installed you AS…read more