tell user that how to exit :)
This commit is contained in:
parent
9670eda6d9
commit
245ef8ab03
|
@ -193,6 +193,7 @@ public class StressTest extends BasicTest {
|
||||||
System.out.println("FreeMemory: " + Runtime.getRuntime().freeMemory() / 1024);
|
System.out.println("FreeMemory: " + Runtime.getRuntime().freeMemory() / 1024);
|
||||||
System.out.println("TotalMemory: " + Runtime.getRuntime().totalMemory() / 1024);
|
System.out.println("TotalMemory: " + Runtime.getRuntime().totalMemory() / 1024);
|
||||||
System.out.println("========================");
|
System.out.println("========================");
|
||||||
|
System.out.println("Push any key to exit...");
|
||||||
System.in.read();
|
System.in.read();
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue