Jdk 1.4.2 Error on setting heap min and max

Discussion in 'Java' started by Aaron Boxer, Jul 5, 2003.

  1. Aaron Boxer

    Aaron Boxer Guest

    Hello,

    I have an application that works fine using jdk 1.4.1

    I set the heap min and max size using the command line parameters:

    -ms64mb -mx128mb


    I just tried running this app under 1.4.2, and no matter what values
    I set as min and max, I get errors like "Invalid minimum heap size".

    Any ideas?

    Thanks

    Aaron Boxer
    Aaron Boxer, Jul 5, 2003
    #1
    1. Advertising

  2. Aaron Boxer

    xarax Guest

    (Aaron Boxer) wrote in message news:<>...
    > Hello,
    >
    > I have an application that works fine using jdk 1.4.1
    >
    > I set the heap min and max size using the command line parameters:
    >
    > -ms64mb -mx128mb
    >
    >
    > I just tried running this app under 1.4.2, and no matter what values
    > I set as min and max, I get errors like "Invalid minimum heap size".
    >
    > Any ideas?
    >
    > Thanks
    >
    > Aaron Boxer


    Try leaving off the trailing "b" on the sizes.

    Try: -Xms64m -Xms128m
    xarax, Jul 5, 2003
    #2
    1. Advertising

  3. Aaron Boxer

    Roedy Green Guest

    On 4 Jul 2003 19:24:11 -0700, (Aaron Boxer) wrote or
    quoted :

    >-ms64mb -mx128mb


    the new format for those commands is:

    -Xms6m

    --
    Canadian Mind Products, Roedy Green.
    Coaching, problem solving, economical contract programming.
    See http://mindprod.com/jgloss/jgloss.html for The Java Glossary.
    Roedy Green, Jul 5, 2003
    #3
  4. Aaron Boxer

    Aaron Boxer Guest

    Great!

    Thanks for the help.

    Aaron



    Roedy Green <> wrote in message news:<>...
    > On 4 Jul 2003 19:24:11 -0700, (Aaron Boxer) wrote or
    > quoted :
    >
    > >-ms64mb -mx128mb

    >
    > the new format for those commands is:
    >
    > -Xms6m
    Aaron Boxer, Jul 7, 2003
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Lois
    Replies:
    1
    Views:
    3,225
    Ryan Stewart
    Dec 27, 2004
  2. juergen
    Replies:
    3
    Views:
    567
    opalinski from opalpaweb
    Sep 20, 2006
  3. Albert Hopkins

    When is min(a, b) != min(b, a)?

    Albert Hopkins, Jan 21, 2008, in forum: Python
    Replies:
    31
    Views:
    829
    Albert van der Horst
    Feb 4, 2008
  4. Raymond Schanks
    Replies:
    0
    Views:
    523
    Raymond Schanks
    Apr 11, 2010
  5. carmen

    Converting hrs and min to just min

    carmen, Aug 10, 2004, in forum: ASP General
    Replies:
    4
    Views:
    133
    carmen
    Aug 10, 2004
Loading...

Share This Page