On Thu, Jun 2, 2011 at 9:55 AM, sebb <seb...@gmail.com> 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: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org