Questions tagged [diskspace]

Issues relating to availability of disk space.

Questions using this tag are expected to be related to handling disk space issues, regardless of language and system.

749 questions
71
votes
5 answers

How to check if IOException is Not-Enough-Disk-Space-Exception type?

How can I check if IOException is a "Not enough disk space" exception type? At the moment I check to see if the message matches something like "Not enough disk space", but I know that this won't work if the OS language is not English.
jotbek
  • 1,479
  • 3
  • 14
  • 22
58
votes
9 answers

How to solve jenkins 'Disk space is too low' issue?

I have deployed Jenkins in my CentOS machine, Jenkins was working well for 3 days, but yesterday there was a Disk space is too low. Only 1.019GB left. problem. How can I solve this problem, it make my master offline for hours?
Eason
  • 611
  • 1
  • 5
  • 5
51
votes
6 answers

Disk usage of files whose names match a regex, in Linux?

So, in many situations I wanted a way to know how much of my disk space is used by what, so I know what to get rid of, convert to another format, store elsewhere (such as data DVDs), move to another partition, etc. In this case I'm looking at a…
Camilo Martin
  • 37,236
  • 20
  • 111
  • 154
51
votes
4 answers

TFS creates a $tf folder with gigabytes of .gz files. Can I safely delete it?

I am using visual studio 2012 with Microsoft TFS 2012. On the workspace that is created on my c: drive, a hidden folder $tf is created. I suspect TFS from creating this folder. It's lurking diskspace as the current size is several gigabytes now and…
Nico Lubbers
  • 647
  • 1
  • 5
  • 10
45
votes
3 answers

Get amount of free disk space using Go

Basically I want the output of df -h, which includes both the free space and the total size of the volume. The solution needs to work on Windows, Linux, and Mac and be written in Go. I have looked through the os and syscall Go documentation and…
Rick Smith
  • 9,031
  • 15
  • 81
  • 85
43
votes
5 answers

What is the current full install size of Cygwin?

Every source I found online says a full installation of Cygwin takes over 1 GB, but mine is only 100 MB. I was pretty sure I downloaded everything from the mirror servers, but the install took less than 5 minutes to complete instead of hours, as I'd…
TopTierTracker
  • 487
  • 1
  • 6
  • 10
42
votes
10 answers

How to find the amount of free storage (disk space) left on Android?

I am trying to figure out the available disk space on the Android phone running my application. Is there a way to do this programmatically? Thanks,
Ashwin
  • 425
  • 1
  • 4
  • 4
41
votes
8 answers

du in PowerShell?

How can I get a du-ish analysis using PowerShell? I'd like to periodically check the size of directories on my disk. The following gives me the size of each file in the current directory: foreach ($o in gci) { Write-output $o.Length } But what…
Cheeso
  • 189,189
  • 101
  • 473
  • 713
41
votes
7 answers

Get free space on internal memory

Is it possible to get the amount of free memory on an Android device (not on the SD CARD) via the Android SDK? If so, how?
clamp
  • 33,000
  • 75
  • 203
  • 299
41
votes
4 answers

Auto compact the deleted space in mongodb?

The mongodb document says that To compact this space, run db.repairDatabase() from the mongo shell (note this operation will block and is slow). in http://www.mongodb.org/display/DOCS/Excessive+Disk+Space I wonder how to make the mongodb free…
Zealot Ke
  • 503
  • 1
  • 5
  • 7
38
votes
4 answers

Increase Disk Space on Docker Toolbox

I'm trying to start some very large Containers on Docker Toolbox (about 18 GB in total). Unfortunately, I always get the error that there is not enough disk space. I have a 1TB HDD and there are more than 200 GB free. How can I increase the disk…
Pascal
  • 2,590
  • 3
  • 21
  • 46
36
votes
13 answers

Easiest way to simulate no free disk space situation?

I need to test my web app in a scenario where there’s no disk space remaining, i.e. I cannot write any more files. But I don’t want to fill my hard drive with junk just to make sure there’s really no space left. What I want is to simulate this…
Ilya Birman
  • 9,834
  • 4
  • 27
  • 31
35
votes
6 answers

Any way to keep curl's cookies in memory and not on disk

I'm doing some cURL work in php 5.3.0. I'm wondering if there is any way to tell the curl handle/object to keep the cookies in memory (assuming I'm reusing the same handle for multiple requests), or to somehow return them and let me pass them back…
Uberfuzzy
  • 8,253
  • 11
  • 42
  • 50
32
votes
4 answers

How to get available/free sdcard space in android with adb command

I am trying to get free sdcard space with adb command, but I could not able to achieve. Any suggestions how to get the sdcard space.
Venkatesh
  • 3,558
  • 8
  • 32
  • 38
31
votes
3 answers

What is Docker.qcow2?

I was looking at my disk with DaisyDisk and I have a 30GB something called Docker.qcow2. More specifically, DaisyDisk puts it under ~/Library/Containers/com.docker.docker/Data/vms/0/Docker.qcow2. Is it some kind of cache? Can I delete it? I have a…
dkimot
  • 2,239
  • 4
  • 17
  • 25
1
2
3
49 50