How can I calculate the size of my applications Config Vars


Config Vars are limited by 32KB per application. The Platform will prevent you from attempting to store more than 32KB, but it can sometimes be helpful to know how much space is being used.


You can calculate the size of your Config Vars via the CLI command:

$ heroku config --json -a APP_NAME | tr -d '[:space:]' | wc -c

Here, the Config Vars are using ~13KB of space.

Ask on Stack Overflow

Engage with a community of passionate experts to get the answers you need

Ask on Stack Overflow

Heroku Support

Create a support ticket and our support experts will get back to you

Contact Heroku Support
Terms of Service Privacy Cookies © 2018