Viswanathan Nachiappan

Greenhorn
+ Follow
since Jul 26, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Viswanathan Nachiappan

String command = "script.bat";
Process p = Runtime.getRuntime().exec(command);
InputStreamReader isr = new InputStreamReader(p.getInputStream());

I get an InputStream form the above Process, Does anyone knows where this InputStream is stored ( RAM / HEAP )???

Thanks in Advance,
viswa
16 years ago
I guess the file takes the space from RAM and not the HEAP. Hence we can work with large files (i.e. the RAM is capable of...)

Please Advise.
viswa
16 years ago
String command = "script.bat";
Process p = Runtime.getRuntime().exec(command);
InputStreamReader isr = new InputStreamReader(p.getInputStream());

I get an InputStream form the above Process, Does anyone knows where this InputStream is stored ( RAM / HEAP )???

Thanks in Advance,
viswa
In

Runtime.getRuntime().exec(command)
Method primitive variables are stored in the Stack.

Static Objects will be stored in the Heap, but where will there reference be stored?

Also Can any one tell where the Static primitive variables are stored???

Thanks in Advance,
viswa