On Thu, Jun 2, 2011 at 9:55 AM, sebb <[email protected]> wrote: > > They specifically wanted Tomcat to support the suffices k and m that > can be used when providing memory sizes to the Java -Xmx etc options. > > So yes, I guess the multiplier is 1024 here. >
So, perhaps a MemUtils class? And perhaps a method like: public long parseBytes(String input); --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
