auto scale JVM heap size based on dyno size

Maybe I'm missing something, but what is the connection between `ulimit -u` (maximum number of processes available to a single user) and ram/heap?