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.