HardDisk Quota — Cedar Stack (Heroku)
Asked Answered
I

3

16

I know that the maximum slug size allowed is 200 MB. But what is the maximum disk space you can use per instance? Say I'm downloading a couple of files when the node process is running.

Israel answered 23/8, 2012 at 20:22 Comment(1)
The maximum slug size has been increased to 200MB: devcenter.heroku.com/changelog-items/72 and devcenter.heroku.com/articles/slug-compiler#slug-size.Murmurous
S
17
heroku run bash
~ $ df -h /tmp
Filesystem            Size  Used Avail Use% Mounted on
-                     620G  6.1G  583G   2% /tmp

You have approximately 620Gb in the /tmp folder.
Any other folder doesn't really matter, as they're readonly anyway.

Snifter answered 5/6, 2013 at 11:38 Comment(3)
Will I be able to use the entire 620GB given that it's a shared stack?Israel
Yes. The tmp folder is yours only.Snifter
That is not true (anymore?). The available disk space of the /tmp folder is shared with your "neighbours". It is isolated in terms of file permissions and vsibility, but you need to handle "no space available" yourself.Scagliola
L
3

When I ran df on one of my instances just now (Cedar 14), I get 304G total, 240G available. Still a lot, but less than the responder above. Just an FYI to check your specific instance.

~ $ df -h /tmp Filesystem Size Used Avail Use% Mounted on /dev/mapper/evg0-evol0 304G 49G 240G 17% /tmp

Longcloth answered 11/5, 2016 at 17:0 Comment(0)
I
0

I think the total size for whole server is 620GB. you can run df -k . in free account and I got 394267100 byte.. 400mb

You have approximately 620Gb in the /tmp folder. Any other folder doesn't really matter, as they're readonly anyway.

Inexplicit answered 21/1, 2018 at 23:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.