*/
package jalview.bin;
+import java.util.Locale;
+
/**
* Methods to decide on appropriate memory setting for Jalview based on two
* optionally provided values: jvmmempc - the maximum percentage of total
* @author bsoares
*
*/
-import java.util.Locale;
-
public class MemorySetting
{
public static final String MAX_HEAPSIZE_PERCENT_PROPERTY_NAME = "jvmmempc";
public static String memoryLongToString(long mem)
{
- return memoryLongToString(mem, "%.1f");
+ return memoryLongToString(mem, "%.3f");
}
public static String memoryLongToString(long mem, String format)
return ADJUSTMENT_MESSAGE;
}
-}
\ No newline at end of file
+}