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.

Gautham Badhrinathan
  • 2,377
  • 3
  • 20
  • 30
  • 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 Answers3

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
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