Results 1 to 4 of 4

Thread: JVM config

  1. #1
    Join Date
    Oct 2008
    Posts
    84

    JVM config

    Hello, hello,
    then I have a small matter related to JVM:
    I would like to know if the following command:

    Code:
    java-jar Xmx512m-monProg.jar
    do what of the following
    1. - Changes in the constant memory of the JVM in allocating 512MB then launches monProg.jar
    2. - Or monProg.jar launches with a 512MB memory allocated
    3. - Or monProg.jar launches with 512 MB and keeps that value in memory for future launches monProg.jar


    thanks for your suggestions

  2. #2
    Join Date
    May 2008
    Posts
    2,389

    Re: JVM config

    in fact your command will simply run the jar with a maximum of 512MB of memory use and only for the appeal of the order.

  3. #3
    Join Date
    Oct 2005
    Posts
    2,393

    Re: JVM config

    In fact we need to better change the minimum and maximum value to the size:
    -Xms512m-Xmx512m

  4. #4
    Join Date
    Nov 2005
    Posts
    1,323

    Re: JVM config

    I do not agree, it depends on the behavior. If you know that your application will use all the time most of the 512 MB, you can follow the advice of reegan , otherwise it is not necessary. Use a profiler to verify that, for example TPTP Eclipse, the NetBeans profiler, JProfiler, YourKit ...

Similar Threads

  1. Replies: 8
    Last Post: 18-04-2011, 08:09 AM
  2. Replies: 5
    Last Post: 17-04-2011, 08:51 AM
  3. CPU config ??
    By dmanojkmr in forum Motherboard Processor & RAM
    Replies: 5
    Last Post: 26-01-2010, 04:12 AM
  4. Difference between Web.Config and Machine.Config File
    By Adrina_g in forum Software Development
    Replies: 5
    Last Post: 23-01-2010, 02:44 PM
  5. Config.Msi
    By SidharthGore in forum Windows XP Support
    Replies: 2
    Last Post: 14-04-2008, 05:37 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,011,593.16734 seconds with 16 queries