Workspace is running out of quota


#1

I’ve got the message as below or private space rails tutorial:
"Your workspace is running out of quota. Please make some free space."
I’ve deleted about 5 app. and left only about 5 app but still has this message…
Why I’ve got this message if I have only 5 small app,
even so, I’ve upgrade heroku since it was outdated?

How to get rid from those message?

Is it absolutely need to upgrade(I am a student)?
thanks.


#2

If you’re running a free workspace, you have only 2gb of space, shared with installed apps, maybe you have too many app’s installed on your workspace (the paid version you can use up to 10gb of space and 2.5gb of ram on each workspace)


#3

So, 2 gb is all space that I could have on all workspaces?
For ex I have 5 workspaces and each workspace has approximately
5 app.
Could I get space by deleting some workspaces or some app on it?
Is it possible to see how many space I need to release?
thanks


#4

Each workspace you do have 2GB of space, but you know that only one workspace is private on free account…


#5

I’ve got warning on private workspace. And it is strange, since I’ve got
warning, I deleted 5 applications to save space … and still got warning
about not enough space…
I use this space without any warning with those 5 applications present
and now suddenly I have no space even so I’ve deleted 5 applications…
Also I’ve downloaded this space as zip and it show that it has only
56.3 MB not even close to 2gb…
Why I have constant warning about that I am out of space if I far away from reaching limit 2gb?


#6

not only files in workspac folder, but all the files that you’ve created on the vm are counted to the limit.
please see this answer for the instruction for debugging this issue


#7

I’ve use: du -h -t 50M /
and it shown bunch of nix files and then directories that I could no access permission
I also get rid from tmp files as was pointing in and it doesn’t help:I still have warning about not enough space:

Ncdu: deleted /tmp, hdd remains full

Heroku said that updating don’t take much space, though I have no problem with space until updating… But cloud9 outdated version of heroku could not migrate.
I don’t think that I should go back to outdated version heroku to use workspace.
Once again I’ve deleted 6 app. and left only 6 - and I still out of space… and I think that my small app could not take all space.
Would you please help me to use private workspace by cleaning the files that not used or doing something else?

//updated heroku
heroku --version
heroku-cli/6.8.5-e6953b2 (linux-x64) node-v7.10.0

//outdated heroku
heroku --version
heroku-toolbelt/3.43.16 (x86_64-linux) ruby/2.3.0
heroku-cli/5.6.22-f9f7585 (linux-amd64) go1.7.5
You have no installed plugins.


#8

I’ve updated the command to not complain about nix and mnt, which are managed by cloud9.
On your workspace most of space is taken by various gems installed on different ruby versions.
I don’t know how to reduce that. You can try deleting your workspace and creating a new one, but if you run multiple apps using different gems and ruby versions on one workspace, there is a chance you’ll run out of space again, so either do not do that or use a premium workspace.


#9

So, this command show files using space on workspace like
/workspace $ du -h -t 50M /
Do you have a command that show how much space one particular
app on private workspace take?
Though, i could consider to get rid of it or move to free space.
If i update as a student, how much private space can I get and how much should i pay?
thanks.


#10

I’ve already deleted 6 app - and still got message about
not enough space on private workspace…I’ve never got this message
until update heroku…
Also I got the message about no enough space on public workspace where only couple of app.
Is upgrading(paying money) absolutely necessary and I could not anymore to use free space?


#11

I could not[quote=“tatyana_pol, post:10, topic:16844, full:true”]
I’ve already deleted 6 app - and still got message about
not enough space on private workspace…I’ve never got this message
until update heroku…
Also I got the message about no enough space on public workspace where only couple of app.
Is upgrading(paying money) absolutely necessary and I could not anymore to use free space?
[/quote]

So, right now:
I could not use private workspace - because it is not enough space there.
2 I could not use public space because heroku is outdated and I could not migrate to heroku…
3 I could not update my account using education plan since I am a student because I could not complete step 2 (account info -not clickable). Is it bug?
Any suggestion how to proceed?
thanks.


#12

I’ve deleted all apps from workspace rails-new but my new supposed to be empty space shows that 913 MB is already taken even so I’ve restarted it…
Where those number came from and how to make empty space?
Also, I’ve had the same small apps on private space that show that it is running out of quota.
If those 913Mb were added to this space, then I could not create any apps on this workspace and will be automatically out of quota.
thanks.


#13

How to get rid from those message?

Is it absolutely need to upgrade(I am a student)?
thanks.
[/quote]


#14


#15

There is no app on rails-new workspace but it still show that almost
half of space - 913 MB is occupied…
Why is space occupied if there are no apps?


#16

I’ve tried to work on another worksplace word but it showed that it is out of space.
So, I’ve deleted all apps - but it is still out of space…(see attached)
Once again: why is the workspace

is out of space if there are no app as such.


#17

In your word workspace /home/ubuntu/.local/share/heroku/tmp takes 1.4G, try deleting it.

As said above, not only the app can use space but also all other files you have created.

You can list of your files by running

du-c9 | grep -P '^(\d\d+M|[\d.]+G)'

or

sudo du -h -t 50M / --exclude=/nix --exclude=/mnt --exclude=/proc

#18

I’ve used your command as below.
I have no app in rails-new workspace and I don’t see any heroku files, but disc still show
that 913 Mb is occupied
The question is the same:

  1. how to free space and get 2GB ( 2024Mb) instead of 2024Mb-913Mb?
    2.How to create the new private space?
    I mean, should I delete all apps from private space and recreated the new ones ?
    It seems the right way to do but what if the private space after deleting all apps is not 2 GB but less as on other workspaces after deleting all files - then what to do or there is another way to recreate the private space?
    thanks.
    ls -la
    total 16
    drwxrwxr-x 3 ubuntu ubuntu 4096 Jun 24 17:09 ./
    drwxr-xr-x 25 ubuntu ubuntu 4096 Jun 9 22:06 …/
    drwxr-xr-x 3 ubuntu ubuntu 4096 Jun 1 07:42 .c9/
    -rw-rw-r-- 1 ubuntu ubuntu 948 Jan 18 2016 README.md
    tatyana_pol:~/workspace du-c9 | grep -P '\d\d+M' % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4096 0 4096 0 0 11842 0 --:--:-- --:--:-- --:--:-- 1183835M ./var/lib/apt/lists 35M ./var/lib/apt 40M ./var/lib 42M ./var 34M ./home/ubuntu/.local/share/heroku/client/bin 62M ./home/ubuntu/.local/share/heroku/client/node_modules 96M ./home/ubuntu/.local/share/heroku/client 103M ./home/ubuntu/.local/share/heroku 103M ./home/ubuntu/.local/share 103M ./home/ubuntu/.local 16M ./home/ubuntu/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47 14M ./home/ubuntu/.bundle/cache/compact_index/rubygems.org.80.9e8aca59a0c3a407fba89eb64623162d 30M ./home/ubuntu/.bundle/cache/compact_index 30M ./home/ubuntu/.bundle/cache 30M ./home/ubuntu/.bundle 136M ./home/ubuntu 136M ./home 34M ./usr/local/heroku/bin 63M ./usr/local/heroku/node_modules 97M ./usr/local/heroku 29M ./usr/local/rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0 29M ./usr/local/rvm/gems/ruby-2.3.0/extensions/x86_64-linux 29M ./usr/local/rvm/gems/ruby-2.3.0/extensions 114M ./usr/local/rvm/gems/ruby-2.3.0/cache 13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.10/ext/ffi_c 13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.10/ext 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.10 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.1/vendor 16M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.1 12M ./usr/local/rvm/gems/ruby-2.3.0/gems/fog-1.38.0 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.1/ext 21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.1 13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.14/ext/ffi_c 13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.14/ext 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.14 13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.18/ext/ffi_c 13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.18/ext 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.18 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.8.0/ext/nokogiri 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.8.0/ext 21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.8.0 11M ./usr/local/rvm/gems/ruby-2.3.0/gems/fog-1.40.0 16M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.3/vendor 17M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.3 100 682k 0 682k 0 0 545k 0 --:--:-- 0:00:01 --:--:-- 544k15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.7.2/ext/nokogiri 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.7.2/ext 21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.7.2 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.6.4/ext/nokogiri 15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.6.4/ext 21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.6.4 558M ./usr/local/rvm/gems/ruby-2.3.0/gems 100 831k 0 831k 0 0 521k 0 --:--:-- 0:00:01 --:--:-- 521k 704M ./usr/local/rvm/gems/ruby-2.3.0 704M ./usr/local/rvm/gems 705M ./usr/local/rvm 801M ./usr/local 810M ./usr 990M . tatyana_pol:~/workspace clear
    tatyana_pol:~/workspace pwd /home/ubuntu/workspace tatyana_pol:~/workspace du-c9 | grep -P ‘\d\d+M’
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 6900 0 6900 0 0 23306 0 --:–:--35M ./var/lib/apt/lists
    35M ./var/lib/apt
    40M ./var/lib
    42M ./var
    34M ./home/ubuntu/.local/share/heroku/client/bin
    –:--:-- --:–:-- 2331062M ./home/ubuntu/.local/share/heroku/client/node_modules
    96M ./home/ubuntu/.local/share/heroku/client
    103M ./home/ubuntu/.local/share/heroku
    103M ./home/ubuntu/.local/share
    103M ./home/ubuntu/.local
    16M ./home/ubuntu/.bundle/cache/compact_index/rubygems.org.443.29b0360b937aa4d161703e6160654e47
    14M ./home/ubuntu/.bundle/cache/compact_index/rubygems.org.80.9e8aca59a0c3a407fba89eb64623162d
    30M ./home/ubuntu/.bundle/cache/compact_index
    30M ./home/ubuntu/.bundle/cache
    30M ./home/ubuntu/.bundle
    136M ./home/ubuntu
    136M ./home
    34M ./usr/local/heroku/bin
    63M ./usr/local/heroku/node_modules
    97M ./usr/local/heroku
    29M ./usr/local/rvm/gems/ruby-2.3.0/extensions/x86_64-linux/2.3.0
    29M ./usr/local/rvm/gems/ruby-2.3.0/extensions/x86_64-linux
    29M ./usr/local/rvm/gems/ruby-2.3.0/extensions
    114M ./usr/local/rvm/gems/ruby-2.3.0/cache
    13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.10/ext/ffi_c
    13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.10/ext
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.10
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.1/vendor
    16M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.1
    12M ./usr/local/rvm/gems/ruby-2.3.0/gems/fog-1.38.0
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.1/ext/nokogiri
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.1/ext
    21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.8.1
    13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.14/ext/ffi_c
    13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.14/ext
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.14
    13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.18/ext/ffi_c
    13M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.18/ext
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/ffi-1.9.18
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.8.0/ext/nokogiri
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.8.0/ext
    21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.8.0
    11M ./usr/local/rvm/gems/ruby-2.3.0/gems/fog-1.40.0
    16M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.3/vendor
    17M ./usr/local/rvm/gems/ruby-2.3.0/gems/webrat-0.7.3
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.7.2/ext/nokogiri
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.7.2/ext
    21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.7.2
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.6.4/ext/nokogiri
    15M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.6.4/ext
    21M ./usr/local/rvm/gems/ruby-2.3.0/gems/nokogiri-1.6.6.4
    558M ./usr/local/rvm/gems/ruby-2.3.0/gems
    100 831k 0 831k 0 0 1483k 0 --:–:-- --:–:-- --:–:-- 1482k
    704M ./usr/local/rvm/gems/ruby-2.3.0
    704M ./usr/local/rvm/gems
    705M ./usr/local/rvm
    801M ./usr/local
    810M ./usr
    990M .

#19

How to delete my private workspace and create the new one?
thanks


#20

the output above shows 558M ./usr/local/rvm/gems/ruby-2.3.0/gems, you can try to uninstall some gems, or old ruby versions