[java-identity-provider COMMIT] /trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp

noreply at shibboleth.net noreply at shibboleth.net
Thu Mar 10 14:26:01 EST 2016


Author: scantor
Date: Thu Mar 10 14:26:01 2016
New Revision: 8145

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=8145&view=rev
Log:
IDP-947 - status.jsp used_memory is wrong

https://issues.shibboleth.net/jira/browse/IDP-947

Modified:
    trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp

Modified: trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp?rev=8145&r1=8144&r2=8145&view=diff
==============================================================================
--- trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp	(original)
+++ trunk/idp-war/src/main/webapp/WEB-INF/jsp/status.jsp	Thu Mar 10 14:26:01 2016
@@ -29,7 +29,7 @@
 operating_system_architecture: <%= System.getProperty("os.arch") %>
 jdk_version: <%= System.getProperty("java.version") %>
 available_cores: <%= Runtime.getRuntime().availableProcessors() %>
-used_memory: <%= Runtime.getRuntime().totalMemory() / 1048576 %> MB
+used_memory: <%= (Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()) / 1048576 %> MB
 maximum_memory: <%= Runtime.getRuntime().maxMemory() / 1048576 %> MB
 
 ### Identity Provider Information



More information about the commits mailing list