问题
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.
回答1:
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.
回答2:
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
回答3:
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.
来源:https://stackoverflow.com/questions/12099378/harddisk-quota-cedar-stack-heroku