Re: RFR 9: 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory

2015-04-28 Thread Chris Hegarty
On 27 Apr 2015, at 21:54, Roger Riggs roger.ri...@oracle.com wrote: Please review adding diagnostic output to identify an intermittent failure. I agree with the adding additional diagnostic output. Maybe the bug description should be updated to indicate that? Webrev:

RFR 9: 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory

2015-04-27 Thread Roger Riggs
Please review adding diagnostic output to identify an intermittent failure. Webrev: http://cr.openjdk.java.net/~rriggs/webrev-lots-8078582/ Issue: https://bugs.openjdk.java.net/browse/JDK-8078582 Thanks, Roger

Re: RFR 9: 8078582: java/lang/Runtime/exec/LotsOfOutput.java fails intermittently with Process consumes memory

2015-04-27 Thread huizhe wang
Hi Roger, I think you meant to print out initMemory before totalMemory :-) +System.out.printf(consuming memory: i: %d, initial: %d, total: %d, delta: %d%n, +i, totalMemory, initMemory, totalMemory - initMemory); **i,