At times, I get "java.io.IOException: error=12, Cannot allocate memory" in my java application.
I want to reproduce it on my machine. Is there a way to reproduce this error? When will Runtime.exec throw java.io.IOException?
FYI, [root@ara ~]# java -version java version "1.6.0_22" Java(TM) SE Runtime Environment (build 1.6.0_22-b04) Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03, mixed mode)