private int getTotalCommandBytes ( SubProcessCommandLineArgs commands ) { int size = 0 ; for ( SubProcessCommandLineArgs . Command c : commands . getParameters ( ) ) { size += c . value . length ( ) ; } return size ; }
Add up the total bytes used by the process .