poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cen...@apache.org
Subject svn commit: r1773691 - /poi/trunk/src/ooxml/java/org/apache/poi/util/OOXMLLite.java
Date Sun, 11 Dec 2016 21:15:47 GMT
Author: centic
Date: Sun Dec 11 21:15:47 2016
New Revision: 1773691

URL: http://svn.apache.org/viewvc?rev=1773691&view=rev
Log:
Revert "Print out amount of available memory during startup of OOXMLLite"

This reverts commit b9b9c2e7c661bb89a2063326ca0903059214bc2b.

Modified:
    poi/trunk/src/ooxml/java/org/apache/poi/util/OOXMLLite.java

Modified: poi/trunk/src/ooxml/java/org/apache/poi/util/OOXMLLite.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/util/OOXMLLite.java?rev=1773691&r1=1773690&r2=1773691&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/util/OOXMLLite.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/util/OOXMLLite.java Sun Dec 11 21:15:47 2016
@@ -76,13 +76,6 @@ public final class OOXMLLite {
     }
 
     public static void main(String[] args) throws IOException, ClassNotFoundException {
-        System.out.println("Free memory (bytes): " + 
-                Runtime.getRuntime().freeMemory());
-        long maxMemory = Runtime.getRuntime().maxMemory();
-        System.out.println("Maximum memory (bytes): " + 
-        (maxMemory == Long.MAX_VALUE ? "no limit" : maxMemory));
-        System.out.println("Total memory (bytes): " + 
-                Runtime.getRuntime().totalMemory());
 
         String dest = null, test = null, ooxml = null;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message