cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject svn commit: r1025770 - /cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java
Date Wed, 20 Oct 2010 21:44:49 GMT
Author: jbellis
Date: Wed Oct 20 21:44:48 2010
New Revision: 1025770

URL: http://svn.apache.org/viewvc?rev=1025770&view=rev
Log:
log heap size on startup.  patch by jbellis

Modified:
    cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java

Modified: cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java
URL: http://svn.apache.org/viewvc/cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java?rev=1025770&r1=1025769&r2=1025770&view=diff
==============================================================================
--- cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java (original)
+++ cassandra/trunk/src/java/org/apache/cassandra/service/AbstractCassandraDaemon.java Wed
Oct 20 21:44:48 2010
@@ -69,6 +69,7 @@ public abstract class AbstractCassandraD
      */
     protected void setup() throws IOException
     {
+        logger.info("Heap size: {}/{}", Runtime.getRuntime().totalMemory(), Runtime.getRuntime().maxMemory());
     	FBUtilities.tryMlockall();
 
         listenPort = DatabaseDescriptor.getRpcPort();



Mime
View raw message