Hi,
I am using ProcessBuilder to invoke an external command which will provide me the output. And I'm supplying input through
String Buffer. My program works fine for 2934 strings within StringBuffer. However, the moment my stringbuffer size goes beyond 2934, the program hangs & waits forever.
Below is my code.
Can anyone tell me what could be the issue? Is there any limit in String Buffer? If so, how to resolve it?
PS: I also tried specifying large capacity such as 99999 in constructor of String buffer but still no luck....
Thanks!