Memory Allocation under Different Operating Systems

Hello
What is the exact behavior of java -Xmsn -Xmxn under different operating systems?
I am running my application on windows and linux.
In linux i specify java -Xms512M -Xmx512M and it seems to only initially allocate 22M (i have enough space on the machine).
I also do the same on windows and it seems to allocate 97M or so.
Does any understand what exactly happens when you allocate min and max memory on different operating systems? Are these options fully functioning?
Thanks

AS far as I know -Xms is the minimum size of the heap, and when the VM will be created it'll bild a heap of this size.
Ussually on servers this parameters are fixed to the same size, to the limit of memory that the machine has. This has one advantage: everytime the heap increases your application may be stopped because of the need of ollocate new memory. If you make the initial size of the heap to bhe equal to the minimum this never will occur, despite the starupo of the application will be slower due to the need of allocating big amounts of Ram.
About what you have seen, I'm afraid you are doing something wrong. This parameter works, and if you stated that -Xms128m, the initial heap of your aplication will be this (I've just checked it under Windows 2000).
Abraham.

Similar Messages

  • Jvm 1.4,1.5 default memory usage in Ram in different operating systems

    Hi ,
    Can anyone help me with the default memory occupied by Jvm in different operating systems ?
    I have practically seen that jdk1.4,jdk1.5,jdk1.3 has around 64 Mb as the
    default size on 32 bit machines .
    I am in need of the similar data for jvms on Solaris,Unix and Linux machines . Also much curious to know about the default memory occupied on 64 bit machines. It would be really great if the statistical data is present in any link .
    Thanks and Regards
    Suman

    Default Heap sizes on 64 bit JVM are by default 30% bigger then the 32bit version to accomodate the extra memory used by 64 bit object pointers instead of 32 bit.
    This link plus documents close to it answers most questions.
    http://java.sun.com/docs/hotspot/gc5.0/gc_tuning_5.html#1.1.%20Types%20of%20Collectors%7Coutline

  • Java Program in Different Operation Systems

    Just one question? can I use a java program (.jar) compiled in windows, in my solaris only by copying the .jar , or do I need to compile it with the solaris SDK?
    Thanks in advance for your help and sorry for my ignorance.
    Javier

    Hi,
    It is not required to recompile bcoz the .jar file contains .class files which are independent of Operating system which will be taken care (interpreted) by JVM.
    Actually there is different JVM's for different operating systems(Windows 98,Unix,OS/2). No need to have differend java class file for different operating system. Pls, remember Java is platform independent language.
    Regards,
    S.Prabu

  • HELP!! Authorization in the same laptop with different operation systems

    My BF installed Win 7 operation system on his laptop yesterday and re-authorized it when he used iTunes. However, when he finished authorization, a dialog block showing that "*Including this one, you have authorised two computers out of your available 5*" appeared; what's worse, when he connected his iPhone to the laptop, it deleted all the bought apps in the iPhone, instead of synchronizating.
    I also want to install Win 7 operation system, but I'm afraid that the same thing would happen again (to my iTouch).
    We're quite confused that why the authorization in the same laptop with different operation systems is counted as two times. Friends who know please tell us whether this is the case.. If not, please tell us how to deal with it as we frequently re-install operation system for quicker operation.
    Message was edited by: Shiwen
    Message was edited by: Shiwen

    It's the *operating system* that is authorised, not the particular user profile or the hardware. Before upgrading/reinstalling deauthorise and you won't run out...
    tt2

  • Numbers of Oracle DB usage on different operating systems

    Hi all,
    I am looking for numbers that breakdown in what proportion Oracle DB is used in different operating systems, specifically the percentage of use in each group of operating systems.
    - Windows
    - OpenVMS
    - Linux
    - Unixes.
    - Others
    Could someone provide some numbers or a link to where I could get the information?
    I am especially interested in windows and OpenVMS...
    Best wishes to all
    Andre

    Hi Andy,
    I'm seeing lot of companies prefer Unix(Solaris, HP, Linux) as a production. My experience working with 3 big clients like Cingular (USA), Orange (UK) & SKY(UK) they have many solaris oracle and few HP oracle (Orange).
    Cheers,
    Kamalesh JK

  • How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu 10.11

    How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu X11
    Unfortunatly didn't do it before erasing Win Se7en.

    I got the answer: If your operating systemt is not listed, we don't have upgrade for you.  If I knew that I woud'nt buy a HP computer.

  • How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu 11.10

    How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu 11.10
    Options 
    How to upgrade ( touchsmart 610-1130f ) under Linux Operating System: Ubuntu X11
    Unfortunatly didn't do it before erasing Win Se7en.

    I got the answer: If your operating systemt is not listed, we don't have upgrade for you.  If I knew that I woud'nt buy a HP computer.

  • Multicasting using different operating systems

    Hi,
    I was testing the multicast example from the Java Tutorial (http://java.sun.com/docs/books/tutorial/networking/datagrams/broadcasting.html). The example does not seem to work with machines running different operating systems. I tried running the example server on Solaris machines and the client on Linux machines, and vice versa. The only machines that receive data are the machines running the same OS. The machines are on the same subnet and are all using Java v1.3.1.
    Any ideas on how to get this working?
    Thanks,
    Andrew

    Did more testing. Seems to work between Linux and Windows (NT/2000). But not between Solaris and anything.

  • Using different operating systems?

    Can compiled code be moved to a machine with a different operating system and still run ok?

    Yes. You should beasble to write a prog in Windows and Run it on a Mac. When you compile it only compile some of the code. Once the program is run the rest of the code compiles. Each OS has its own Java Virtual Machine or Java Runtime Environment

  • Exchange Datasfrom different operating systems

    Guys ?
    Without any jailbreaking do iPhones can exchange datas from different operating systems like Android ?

    Sorry no not for music.
    Music needs to be in your itunes library and then sync your phone to it.

  • DB Restoration in different Operating system

    Dear Experts,
    In SAP supporting Database, which DB will allow the database backup that can be restored in different Operating System Platform.
    Say for example: I will take a database backup on windows system and i want to restore the same in different OS other than windows.
    BR,
    Jai

    Generally: Not supported.
    Each operating system stores the data in different block sizes plus it may have different endianesses.
    For Oracle there are various options:
    - OOO (see Note 1508271 - Oracle to Oracle Online Migration - Triple-O)
    - transportable tablepsaces (Note 1367451 - Oracle 10g: Transportable Database)
    - standard R3load procedure (hetergoeneous sytem copy)
    For all those migrations you need to have a certified migration consultant on-site (see http//service.sap.com/osdbmigration).
    Markus

  • Just wondering if I can have a different operating system......

    Just wondering if I can have a different operating system on an external drive....
    You know have Tiger in the main, and Leopard on an external. I always thought that the you can only do that with the 2 internal drives....
    Thx....

    I believe you can do that, but for an external drive to be bootable, I think it has to be either FW or eSATA.

  • Extra licence for different operating system?

    I have Lightroom 5.7 on my home PC, running Windows 7. I plan to get a small laptop computer for travel, possibly a Macbook Air. Would I need to pay for another license for the different operating system?

    Modesto Vega wrote:
    a laptop and a desktop
    Any combination - one of each, or two laptops, or two desktops.

  • Client copy between different operating systems.

    Hi Experts,
    Our production system is running on HP-UX OS. We are installing a standby quality system and planning to do a client copy to this system from production by taking this into transport domain. But this new system is in windows. So, is it possible to perform a client copy where the source system is HP -UX and target system is windows??
    Regards,
    Amit.

    Hi Amit,
    Follow SAP Note 552711 for client copy. Refer to qns no 4 & 5, which is relevant for your question.
    Can I create client copies in a heterogeneous system landscape?
    Remote copies or client transports can also be carried out between different database and operating systems.
    Regards,
    Debasis.

Maybe you are looking for

  • New MBP and quit unexpected

    I just got my new MBP last night. (whohoo) Unfortuately, when I tried to launch Iphoto, garageband, or Imovie, I get the 'quit unexpected' error. That's not right? Right? Should I be doing something else besides clicking on the icon? Any clues??????

  • How do you find your account history for what you have purchased through iTunes?

    How do you find your account history for what you have purchased through Itunes.  I have purchased apps for my Iphone and music and want to see a listing of where my money went.  I use an itunes card so I can keep an idea on how much I have spent. Th

  • From start to finish on UC540

    Hello all, I don't know about you all.  But the CCA has giving me lots of problems.    So I got problems that i need to figure out.  We have small branch locations that have only about 5 to 20 users at.  So we have purchased 3 of these units (3 more

  • JSP : create variable dynamic variable name and get his value.

    //HI forums.sun.com ! //What I want to do is above : //out.println("<td style=\"width: "+col_width_+h+" \">") //Variable Declaration String col_width_1 = "100px"; String col_width_2 = "150px"; //etc String col_width_N = "XXXpx"; //loop for (int h = 0

  • Invoking JAR within an EAR

    I am having trouble invoking my project which is packaged in a jar and the jar is then packaged in an ear file. I need to deploy this big ear file onto an AIX server. No single jar file can be deployed onto the server so I have no option but to inclu