tag:help.appveyor.com,2012-11-13:/discussions/problems/15455-disk-space-quota-exceededAppVeyor: Discussion 2018-10-03T21:01:46Ztag:help.appveyor.com,2012-11-13:Comment/458256012018-08-02T06:52:29Z2018-08-02T06:52:29ZDisk space quota exceeded<div><p>It may not be disk space that is causing the error.<br>
I can look into it, but I don't see any thing that would indicate a problem on the account associated with your email. Do you have another account?</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/458256012018-08-02T06:55:37Z2018-08-02T06:55:41ZDisk space quota exceeded<div><p>My bad, I used my personal email address. The account email is <a href="mailto:mrtool@imageintelligence.com">mrtool@imageintelligence.com</a></p></div>Mathieutag:help.appveyor.com,2012-11-13:Comment/458256012018-08-02T15:40:31Z2018-08-02T15:40:31ZDisk space quota exceeded<div><p>It was actually disk space, which makes me think your package must be well over 4Gb. In any case, we increased your disk size by 10Gb.<br>
But as an additional precautionary step, you can try to remove things on the VM that you are not using but that are taking a lot of that space. Cygwin alone, for instance, if removed can allow you to reclaim a few GB of space.</p>
<p>Just add these two lines to the init: stage of your yaml config file.<br></p>
<pre>
<code> - ps: Remove-Item -Recurse -Force C:/cygwin
- ps: Remove-Item -Recurse -Force C:/cygwin64</code>
</pre>
<p>You can use the same approach for any other extraneous pre-installed software on the VM.</p></div>Owen McDonnelltag:help.appveyor.com,2012-11-13:Comment/458256012018-08-03T04:53:08Z2018-08-03T04:53:10ZDisk space quota exceeded<div><p>Hi Owen,</p>
<p>Thanks for the extra 10 GB. Unfortunately, I feel like disk space was not my only issue here, and I am not sure what else is causing me trouble.</p>
<p>I have improved my delivery process a bit to save as much disk space as possible. I have also tried cleaning as many "useless" things as possible to see if I could make my build pass:</p>
<blockquote>
<p>Deleting DirectX SDK...<br>
Deleting Android NDK...<br>
Deleting Boost...<br>
Deleting Go...<br>
Deleting Ruby...<br>
Deleting Miniconda...<br>
Deleting Perl...<br>
Deleting MinGW...<br>
Deleting Cygwin...<br>
Deleting MSYS...<br>
Deleting Qt...</p>
</blockquote>
<p>The cleaning process takes more than 13 minutes, so I would assume it frees a lot of disk space. But even like this, I could not make my build pass. It fails really close to the end: sometimes my artefacts are deployed via my custom <code>deploy_script</code>, but even then the build still fails with the same error message:</p>
<blockquote>
<p>Build exceeded allowed resource quotas. Fix your build to consume less resources or contact AppVeyor support to request quotas increase.</p>
</blockquote>
<p>I am not sure what resource quota I am exceeding here. Locally, my build does not appear to ask that much resource. Any hint on how I can figure out what resource is lacking (disk space, memory, ...) and how I can solve it?</p>
<p>Thanks a lot</p></div>Mathieutag:help.appveyor.com,2012-11-13:Comment/458256012018-08-03T05:30:24Z2018-08-03T05:30:24ZDisk space quota exceeded<div><p>I believe it is still disk usage, however it may be a possibility that hyper-v disk activity is all being counted as positive and that deletion is actually using up more space.</p>
<p>In case that is what's happening, we increased your build machine disk to 110GB and I would ask you to try your build again without any of the file deletion that I previously recommended.</p></div>Owen McDonnell