mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Startup message to display VM version and size. Also display warnings if not version 1.5 or max. heap size less than (approx) 500MB.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2072 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -65,6 +65,6 @@ public class UISystemProperties extends BaseDebugComponent
|
|||||||
{
|
{
|
||||||
float f = bytes / 1024l;
|
float f = bytes / 1024l;
|
||||||
f = f / 1024l;
|
f = f / 1024l;
|
||||||
return String.format("%.3f MB (%d bytes)", f, bytes);
|
return String.format("%.3fMB (%d bytes)", f, bytes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user