opendap/dtswar/src/main/java/opendap/dts/DTSServlet.java
void showMemUsed(String from)
    {
        long totalMemory = Runtime.getRuntime().totalMemory();
        long freeMemory = Runtime.getRuntime().freeMemory();
        //long maxMemory = Runtime.getRuntime ().maxMemory ();
        long usedMemory = (totalMemory - freeMemory);

        log.debug("****showMemUsed " + from);
        log.debug(" totalMemory " + totalMemory);
        log.debug(" freeMemory " + freeMemory);
        //log.debug(" maxMemory "+maxMemory);
        log.debug(" usedMemory " + usedMemory);
    }
void showMemUsed(String from)
    {
        long totalMemory = Runtime.getRuntime().totalMemory();
        long freeMemory = Runtime.getRuntime().freeMemory();
        //long maxMemory = Runtime.getRuntime ().maxMemory ();
        long usedMemory = (totalMemory - freeMemory);

        log.debug("****showMemUsed " + from);
        log.debug(" totalMemory " + totalMemory);
        log.debug(" freeMemory " + freeMemory);
        //log.debug(" maxMemory "+maxMemory);
        log.debug(" usedMemory " + usedMemory);
    }
void showMemUsed ( String from ) { long totalMemory = Runtime . getRuntime ( ) . totalMemory ( ) ; long freeMemory = Runtime . getRuntime ( ) . freeMemory ( ) ; //long maxMemory = Runtime.getRuntime ().maxMemory (); long usedMemory = ( totalMemory - freeMemory ) ; log . debug ( "****showMemUsed " + from ) ; log . debug ( " totalMemory " + totalMemory ) ; log . debug ( " freeMemory " + freeMemory ) ; //log.debug(" maxMemory "+maxMemory); log . debug ( " usedMemory " + usedMemory ) ; }
**************************************************************************
**************************************************************************