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.
Asked
Active
Viewed 5,057 times
16
-
The maximum slug size has been increased to 200MB: https://devcenter.heroku.com/changelog-items/72 and https://devcenter.heroku.com/articles/slug-compiler#slug-size. – matt Aug 23 '12 at 20:34
3 Answers
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.

Damien MATHIEU
- 31,924
- 13
- 86
- 94
-
2Will I be able to use the entire 620GB given that it's a shared stack? – Gautham Badhrinathan Jun 11 '13 at 13:29
-
2
-
1That 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. – Philipp Alexander Frank Jun 22 '21 at 08:34
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

Steven Chanin
- 570
- 5
- 5
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.

Mohammed
- 390
- 3
- 7