Cannot set the VM to use more memory !!!

Hello,
When I run the Java program with -Xms512m -Xmx1024m, it is fine.
But When I set it to -Xms1024m -Xmx2048m, it cvannot start the VM !!
Eric

As a guess - you are not using a 64 bit VM. And the VM you are using will not go that high.
It has nothing to do with any setting on the computer itself.That's not absolutely true.
On a Linux system I managed to use -Xmx2600m, so the virtual address space (not memory) allocated is pretty close to 3G; this on a machine with 2G, and swap partitions disabled (for the test). If I use -Xms2g, then it fails since there isn't enough memory to allocate.
On a WinXP machine it can only manage around 1600m, since the address space is split 2gb for the applicaton, and 2gb for the OS. However, this can be modified to a 3gb/1gb split via the "/3GB" switch in boot.ini (google it).
I don't know about the address split in Linux, but it's probably around 3/1.

Similar Messages

  • Cannot setting the BB to use the provider's 3G 2100 AIS ​​thailand.

    I setting the  apn to Enable and apn = internet   but can not use it.
    Please reply mail to <removed>
    MOD EDIT: Removed personal information to comply with Community Guidelines and Terms and Conditions of Use.

    Hi and Welcome to the Community!
    Please expand on your description...from "but can not use it", there's no way to understand what is happening. Please provide exact steps you attempt, along with the exact result of each step, and the exact and complete content of any error messages presented.
    Thanks and let us know!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Frequent request to use more memory

    I often am asked for permission for the site to use more (Safari) memory.  It's annoying.  What can I do to elimintae this annoyance?  I've set "database storage" to 50 meg but the popup message thinks I have much less.
    Mac OS10.5.8  I believe I have the latest update for the player as well.

    It may be that that is all the memory that is needed for the current tasks. Consider that even when your system is working hard, it may not be the RAM the is the bottleneck. It may be that the hard disks, the buses, the CPUs, or the GPU is where the resources are maxed out.
    See this page for resources about Adobe Premiere Pro and performance.

  • Force Premiere Pro to Use More Memory

    Hello
    Is there any way to force Premiere Pro to use more memory on a macbook pro?
    I've got 8gb, but it's maxing out at 2gb....still have almost 4gb free not being used.
    In my memory preference, I have 6 GB set to share between Premiere Pro and the encoder.
    Thanks
    Noel

    It may be that that is all the memory that is needed for the current tasks. Consider that even when your system is working hard, it may not be the RAM the is the bottleneck. It may be that the hard disks, the buses, the CPUs, or the GPU is where the resources are maxed out.
    See this page for resources about Adobe Premiere Pro and performance.

  • Xcelsius Scenario Button cannot set the Default Scenario

    Hi,
    I am facing a problem with the Scenario Button in Xcelsius the problem is i cannot set the Default Scenario in the Dashboard .
    I can save load delete the the scenario but if i have 3 scenario and i want to make one of them as default is does not work.
    I think there is some browser setting for this and i have already configured the storage setting for the browser .
    Warm Regards,
    Mishra Vibhav

    Hi Thijs
    Thanks for your update, I think this really helps me. And I have one more question.
    I have seen a SAP notes regarding the Scenario function, the content is as below.
    You use the Local Scenario button to save the final result of a specific simulation (created scenario) and return to it in the future. It only saves the scenario on the local machine where it was created. So you can access the scenario from the same machine, but you cannot transfer scenarios from one computer to another.
    As per the note we can't transfer scenarios from one computer to another, my question is: If we publish the dashboard to inforview and save the scenario, the scenario will be saved in the BOE repositary or still on the local PC, and could the scenario be able to share among different users?
    Thanks a lot

  • I have just downloaded itunes. I cannot install QT as an older version is in place. Cannot remove the older version using CP. Any ideas?

    I have just downloaded itunes. I cannot install QT as an older version is in place. Cannot remove the older version using CP. Any ideas?

    Many thanks.
    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. (The results from mydigitallife and Major Geeks are worth checking.)
    After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any QuickTime entries and click "Remove".
    Quit out of CleanUp. Restart the PC, and try another iTunes install. Does it go through properly this time?
    Message was edited by: b noir

  • It cannot reference the dynamic internal table in memory as an object.

    Hi,
    I am getting the syntax error in the second select. I guest it cannot reference the dynamic internal table in memory as an object.
    The internal table contains different fields from multiple tables and it gets created OK. Then the first select within the loop executes OK allowing me to read the multiple tables in ITABLES.
    * Create dynamic internal table and assign to FS
      call method cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = ifc
        IMPORTING
          ep_table        = dy_table.
    ***OK, the dynamic tables is created here
      assign dy_table->* to <dyn_table>.
    * Create dynamic work area and assign to FS
      create data dy_line like line of <dyn_table>.
      assign dy_line->* to <dyn_wa>.
    loop at ITABLES.
    ***OK, no syntax errors in this select here
      select * appending corresponding fields of table <dyn_table>
                 from (ITABLES-TABNAME).
    endloop.
    data: ikonp like konp occurs 0 with header line.
    ***NOT OK, there is syntax errors
      select * into table ikonp
      from KONP for all entries in <dyn_table>
      where knumh = <dyn_table>-knumh.
    Some of the tables in ITABLES are pooled tables which does not allow me to use INNER JOINS. Therefore I need a second select in order to read the pricing table KONP.
    Thanks in advance for any hint.

    Hi Abel,
    You must be getting the syntax error that <dyn_table> does not contain the field knumh.
    try putiing the entire where clause in a char type variable say wa_char and then use in ur query as
    where (wa_char) .. it may work..
    concatenate 'knumh' '=' '<dyn_table>-knumh' INTO wa_char SEPARATED BY SPACES.
    SELECT ... from konp...
    where (wa_char).
    Revert if it doesnt work.

  • In iMovie 11 I cannot set the duration of my photos, iMovie 09 allowed this , anyone know what to do?

    In iMovie 11, I cannot set the duration of the photos, iMovie 09 allowed this, anybody know the solution?  I use transitions between photos and want to set the timing because I am setting the whole thing to music.

    I have been unable to find this error on the help pages
    Error 1413 when Updating or Restoring an iPod

  • I wish to set a repeat for an event but I do not get a customise option on my iphone 4s so cannot set the third monday of the month - only day, weekly 2 weekly monthly or annually - how do I resolve the problem ?

    I wish to set a repeat for an event but I do not get a customise option on my iphone 4s so cannot set the third monday of the month - only day, weekly 2 weekly monthly or annually - how do I resolve the problem ?

    Week Cal uses the calender database already on your phone. It's just a different front end.

  • Which of the following will take more memory?

    Hi All,
    which of the following will take more memory:
    ---this-----
    long longval[] = new long[100];
    String strval[100] = new String[100];
    boolean boolval[100] = new boolean[100];
    ---or this-----
    class Data {
    long longval;
    String strval;
    boolean boolval;
    Data data = new Data[100];
    I heard objects will take up more memory than default datatypes. I'm looking for speed and memory optimization, so even the slightest of memory saving will matter.

    Hi,
    the first one needs less memory, I guess - beside the point, that the second one has 100 additional references, is the fact, that allocation of memory on modern machines is not a continous one - new data blocks are arranged so, that they start on even addresses (it's a performance issue) often clustered in multiples of 16, 32 or 64. So if you allocate a lot of single objects, the average loss of memory with each object is 8,16 or 32 Bytes (half the cluster size).
    The first one allocates 3 compact data blocks (arrays) - so 3 times the additional loss of memory takes place. The second one allocates 101 blocks (100 objects + 1 array), and so 101 times the additional loss of memory takes place.
    greetings Marsian

  • I see message "Cannot open the file. Not enough memory to open the file"

    When I'm trying to open file from adobe.com on my tablet, I see massage " Cannot open the file. Not enough memory to open the file" . I've got 10 gb free memory , so I dont know, why...

    Which system are you running (is this information correct in your profile)?
    Are there complicating issues to this question such as you transferring libraries between computers?
    Have you upgraded iTunes recently?
    Troubleshooting iTunes installation on Mac OS X - http://support.apple.com/kb/HT2311  - read section on Opening iTunes for information about running multiple copies of iTunes.

  • Authentication is required to set the network proxy used for downloading packages

    hello all,
    we bought a Sun X3-2 and our reseller installed OL6.5 and SRS 5.4.2. When user logs in, a window occurs regularly, displaying this message.
    Authentication is required to set the network proxy used for downloading packages
    After click on Cancel, the window re-appears then minutes after. It seems that it is related to polkit:
    /usr/libexec/polkit-gnome-authentication-agent-1
    Can i stop this service? Are there any hints to tune Oracle Linux when using sunrays? users don't need to update packages because the server is managed.
    thanks in advance for help,
    gerard

    i'm not fully agree with you, this problem arises because i'm using sunray. But you're right, i found the solution when searching on the net, not in oracle forums.
    The solution is to create
    .config/autostart/*.desktop
    with:
    X-GNOME-Autostart-enabled=false
    it seems ok, even if i have other problems, for instance, firefox and thunderbird crashing regularly, even if i'm up to date with packages (uln too).
    In the past, i used to use sunrays with solaris 10, it existed a document to tune gnome when using sunrays, i don't find the same thing with oracle linux.
    thanks for your reply,
    gerard

  • My iphone 4s cannot connect the internet sometimes using the 3G, but sometimes it does work. i do not know what is wrong ?

    my iphone 4s cannot connect the internet sometimes using the 3G, but sometimes it does work. i do not know what is wrong ?

    5.0.2 has not been released, thus you can not upgrade.
    Stedman

  • AMD 3000+ cannot set the fsb in order to boot

    Hi,
    My system below worked fine with an AMD 2100 chip. I recently bought a 3000+ chip and slotted in to my PC - all booted up fine.  I then changed the FSB within bios to 166 - and then rebooted - the machine didn't boot and I had to clear the CMOS.
    I worked out that I cannot set the fsb to anything above 139 fsb else the machine won't boot and I have to reclear the CMOS...I have no idea what to do
    Anyone got any ideas pleaaaaseee?????
    btw I took the cpu down to the dealer and it worked fine there.
    AMD Barton 3000+ (333)
    2 x 256mb PC2700 ram
    MSI 4800 AGP 8X videocard
    Firewire Card
    DVD RW
    CD RW
    80 Gb HD
    120 GB HD
    PSU 350w - +3.3v / 28a
    +5v / 30a
    +12v / 15a

    Hi,
    Sorry my fault...
    but before I give you my system spec - I stuck in a 550W power supply and all is fine.
    However when I clock it up to 166 system crashes - better ram needed I guess.
    But FSb at 160 is fine....
    Considering its warm weather at the mo - my machie hits around 50 -55 degrees when playing something like fs2004.
    Thanks for your replies guys!
    M
    AMD Barton 3000+ (333)
    2 x 256mb PC2700 ram (non branded)
    MSI KTV4-L MB -
    MSI 4800 AGP 8X videocard
    Firewire Card
    DVD RW
    CD RW
    80 Gb HD
    120 GB HD
    PSU 350w - +3.3v / 28a
    +5v / 30a
    +12v / 15a

  • Using ipone4s, since update to IOS6 I cannot use "search" in the App Store.  I deleted an App because I was have trouble activating certain features since the update to IOS6 - only to find now I cannot download the App to use AT ALL.  ???????

    Using ipone4s, since update to IOS6 I cannot use "search" in the App Store.  I deleted an App because I was have trouble activating certain features since the update to IOS6 - only to find now I cannot download the App to use AT ALL.  ???????

    Anything* >.<

Maybe you are looking for