[Swift-commit] r2791 - trunk/src/org/griphyn/vdl/karajan
noreply at svn.ci.uchicago.edu
noreply at svn.ci.uchicago.edu
Tue Mar 31 14:52:23 CDT 2009
Author: hategan
Date: 2009-03-31 14:52:22 -0500 (Tue, 31 Mar 2009)
New Revision: 2791
Modified:
trunk/src/org/griphyn/vdl/karajan/Loader.java
Log:
log max memory when starting up
Modified: trunk/src/org/griphyn/vdl/karajan/Loader.java
===================================================================
--- trunk/src/org/griphyn/vdl/karajan/Loader.java 2009-03-31 19:00:30 UTC (rev 2790)
+++ trunk/src/org/griphyn/vdl/karajan/Loader.java 2009-03-31 19:52:22 UTC (rev 2791)
@@ -40,6 +40,7 @@
import org.griphyn.vdl.engine.Karajan;
import org.griphyn.vdl.karajan.functions.ConfigProperty;
import org.griphyn.vdl.karajan.lib.Execute;
+import org.griphyn.vdl.karajan.lib.Log;
import org.griphyn.vdl.karajan.monitor.MonitorAppender;
import org.griphyn.vdl.toolkit.VDLt2VDLx;
import org.griphyn.vdl.toolkit.VDLt2VDLx.IncorrectInvocationException;
@@ -72,6 +73,7 @@
public static void main(String[] argv) {
logger.debug("Loader started");
+ logger.info("Max heap: " + Runtime.getRuntime().maxMemory());
ArgumentParser ap = buildArgumentParser();
String project = null;
try {
@@ -436,6 +438,7 @@
if (ap.isPresent(ARG_TUI)) {
ma = new MonitorAppender(projectName);
Logger.getRootLogger().addAppender(ma);
+ Logger.getLogger(Log.class).setLevel(Level.DEBUG);
Logger.getLogger(AbstractGridNode.class).setLevel(Level.DEBUG);
Logger.getLogger(Execute.class).setLevel(Level.DEBUG);
Logger.getLogger(VDL2ExecutionContext.class).setLevel(Level.INFO);
More information about the Swift-commit
mailing list