How can I modify memory limitation to a Java thread?

While I using
java -Xms64M xxxx (class name)
it seems that 64M is the biggest memory capacity Jvm allows.
How if i wish to use more than 64M ?
Ps: I am using Windows XP
Thanks

-Xms is the starting size. Try -Xmx to set the maximum size.

Similar Messages

  • How can I measure memory allocation of a Java Application?

    We built a web application that enables images to be loaded into a database through a servlet running on Tomcat. We have inconsistent behaivor when more than x number of people are loading images simultaneously. No doubt a memory allocation problem, but how can I measure it?
    For example, I'd like to be able to create a graph showing the resources used against the number of people making uploads. I am using Linux and Tomcat/Apache.
    I am hoping for something like Memory counters that are available for measurine Windows applications on MS Windows - comes with the Resource Kit. Does this type of tool exist for the Java/Linux market?

    It is difficult to gauge memory usage from a Java application as the JVM handles garbage collection and even if objects are not referenced they might still be sitting in memory until the next garbage collect.
    Anyhow, a way to query available memory is:
    Runtime.getRuntime().freeMemory()
    You can run this at the begining of a process and at the end and examine the difference. You should call System.gc() before each freeMemory() call in order to try to force garbage collection.
    Another method would be to turn to the underlying OS. On linux you could use 'top' or 'ps'. With ps you could do something like:
    ps -o rss,vsz,%mem <pid>
    Where <pid> is the parent Tomcat process' id. The resulting three columns are:
    - Amount of real memory used.
    - Amount of virtual memory used.
    - Percentage of real memory used.
    'man ps' wil give you more options on how to use ps.
    There are also fancy graphical stuff like 'gtop' as well.
    Hope this helps.

  • How can we modify the maximum no. of columns in pivot table ?

    hi all,
    How can we modify the maximum no. of columns in pivot table ?
    do i need to change the nqconfig.ini or instanceconfig file or else?
    thnx..

    A little search on the forum :
    In the instanceconfig.xml add a <PivotView> element under <ServerInstance> if one does
    not exist already.
    Within the <PivotView> element add an entry that looks like:
    <MaxCells>nnnnnn</MaxCells>
    where nnnnnn is your desired limit for the maximum total number of cells allowed
    in a pivot.
    Warning: an excessively large number will cause more memory consumption and
    slower browser performance.The details here :
    Oracle BI EE (10.1.3.2): Maximum total number of cells in Pivot Table excee

  • How can I modify data from a Transparent Table without ABAP code.

    Hi,All
    How can I modify data from a Transparent Table (like TCURR),  and important thing is I want do all that with no ABAP code here. It is like that we always do that in a Oracle database use TOAD or PLSQL third party tools, with no script code here.
    I had fond that there is a way can do that:
    1, type 'se11',and Display Database table 'TCURR', click Contents, then click Execute to display all data
    2, type '/h' and let debugging on
    3, select one of this data then click 'Display',enter in debugging system.
    4, then make a breakpoint in the code. But... display a dialog let I type a 'ABAP Cmnds', I want to know what can be type in for that?
    and, My system is ECC6.
    thank you all
    Edited by: xuehui li on Aug 20, 2008 6:30 PM

    Hello,
    Your approach (with Vijay's suggestion) MAY work.  However, depending on how tight security is at the company that you are working at you may or may not be able to acutaly change the value of the SHOW field to EDIT.  This will be especially true if you are working in a Production environment.  Vijay's other comment is true as well.  This is not a recommended approach to change data (especially data with a financial impact like TCURR) in a production environment.  The auditors will not be impressed.
    Explore the option of a maintenace view or look at tcode TBDM to upload a file which includes daily rates from providers like Reuters or try tcode s_bce_68000174 which is a maintenance view on TCURR.
    Regards
    Greg Kern

  • In Address Book, how can i modify several contacts (several cards) at the s

    Hello,
    In Address Book, how can i modify several contacts (several cards) at the same time ?
    for exemple : I have 100 contact which live in Paris, I select all of them together, but when I put "Paris" in the field "city", it puts "Paris" only in the fisrt contact !
    how to edit several contact at a time ?
    And I would like to put some kind of "tags", or words, in "remark", also by selecting several contact and edit them together...
    Thanks by advance !
    Alexandre.

    Welcome to the discussions, Alexandre1975 et bonjour.
    Just using Address Book this can't be done, but if you are prepared to try a little Applescript it is easy. This script will set the city for example - but only if there is already an address.
    AK
    click here to open this script in your editor<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">tell application "Address Book"
    set ContactList to the selection
    repeat with ThisOne in ContactList
    set city of first address of ThisOne to "Paris"
    end repeat
    end tell</pre>
    (The recent upgrade to the discussions has disabled the link that allows direct opening of a script, so run Script Editor and copy in the script.)
    Message was edited by: Austin Kinsella1

  • How can I modify one column of current and next record depending of some criteria?

    Having DDL
    CREATE TABLE #ServiceChange(
    [ID] [int] identity(1,1),
    [SHCOMP] [char](2) NOT NULL,
    [SHCRTD] [numeric](8, 0) NOT NULL,
    [SHCUST] [numeric](7, 0) NOT NULL,
    [SHDESC] [char](35) NOT NULL,
    [SHTYPE] [char](1) NOT NULL,
    [SHAMT] [numeric](9, 2) NOT NULL,
    [CBLNAM] [char](30) NOT NULL,
    [GROUPID] [char](2) NULL
    And original and desire data in below link
    https://www.dropbox.com/sh/bpapxquaae9aa13/AADnan31ZASublDjN7sa2Vvza
    I would like to know how can I modify one column of current and next record depending of some criteria using SQL2012?
    The criteria is:
    Type should always flow F->T
    if current abs(amount)> next abs(amount) then groupid = 'PD'
    if current abs(amount)< next abs(amount) then groupid = 'PI'
    there is no case when those amounts will be equals
    where current(custid) = next(custid) and current(service) = next(service) and groupid is null
    Any help will be really apreciated.
    Thank you

    I tried that and got this error
    'LAG' is not a recognized built-in function name.
    You said you were using SQL 2012, but apparently you are not. The LAG function was added in SQL 2012. This solution works on SQL 2005 and SQL 2008:
    ; WITH numbering AS (
       SELECT groupid,
              rowno = row_number()  OVER (PARTITION BY custid, service ORDER BY date, id)
       FROM   #ServiceChange
    ), CTE AS (
       SELECT a.groupid,
              CASE WHEN abs(a.amount) < abs(b.amount) THEN 'PD'
                   WHEN abs(a.amount) > abs(b.amount) THEN 'PI'
              END AS newgroupid
       FROM  numbering a
       JOIN  numbering b ON b.custid  = a.custid
                        AND b.service = a.service
                        AND b.rowno   = a.rowno - 1
    UPDATE CTE
    SET   groupid = newgroupid
    Erland Sommarskog, SQL Server MVP, [email protected]

  • How can I modify the text of the automatically created emails of WAS 6.40.

    Hi community,
    I have a question. How can I change the text of then email which ist automatically send by the EP6/WAS6.40 when I create a new user. The email displays the message "Dear Sir or Madam, your user xzy was created with the following password xxx."
    How can I modify this text. Where is it located in the Enterprise Portal / WEBAS 6.40 .
    Thank you.
    Best Regards,
    Olaf Reiss

    Not easily or readily available as of now. It WILL be part of the new features in the NetWeaver 04 release. (*This same question was asked in my EP6 certification class one week ago and this is the answer I got.)
    Found this guide in another post...it should help doing what you need manually...
    http://help.sap.com/saphelp_nw04/helpdata/en/33/d494c86203ea40b7b44ddd471baab1/frameset.htm
    Hope this helps!
    CS

  • How can you modify the displayed columns on a Related Information List?

    How can you modify the displayed columns on a Related Information List? For example, how could you add the "Type" column to the List of columns displayed for Service Requests when you are viewing the Contacts Detail page?
    Thanks

    I'd have to say I think this is one of the biggest flaws in the OnDemand system currently. The solution I have come up with is to create reports and put them in webapplets showing the data I want to show. I have then removed the standard Related Info List Objects and added weblinks to create new records as the button on the List object is also gone.
    Keep in mind that doing this does slow things down a little, so it may not work if you have a big user base.
    RWB.

  • How can i modify exe resource in java?

    How can i modify exe resource in java?
    No jni
    thx.

    if it is .NET code decompilation is possible if, and only if the code is not Packed by protections!
    but if the EXE file is native and created by VB 6.0,C/C++,Delphi,... it is not possible to obtain source code from it, not as far as i know.
    (some program does it , but the returned source code is as useful as its assembly code in debugger).
    if decompilation was that easy then Reverse Engineering was no longer needed!
    What program it is so that can put two exe file into each other ?
    the program you seen might put second exe file into its DATA section then when it executes ,
    it jumps to data section of itself!
    otherwise it is not possible.
    Good luck.
    Edited by: 0mega7 on Apr 5, 2008 8:27 AM
    Edited by: 0mega7 on Apr 5, 2008 8:29 AM

  • How can I modify / update T002C's only one field

    Hi everyone ;
    I would like to write dialog programing code. After I am writing call screen screennumber, I would like to generate a design in screen painter.But screen painter doesn't open. There is an error.
    Error says ' EU_SCRP_WN32 : timeout during allocate / CPIC-CALL: 'ThSAPCMRCV'#' and I search about this error. I solve the problem. Solution is T002C table's secondary language field must be writing , not empty.
    When I would like to update the field's of T002C tables sap is giving an error. Error is 'Table maintenance not allowed for table T002C'.
    How can I modify the field's of table T002C?

    dont know about the stock taking object but may be the grpo object would help
    HTH
    Message was edited by:
            Manu Ashok

  • Qosmio X500-15F - How can I modify the DPI?

    Hello
    With Qosmio X500-15F and graphic card NVIDIA GeForce GTX 460M
    I'm using a professional software for jewelry building (Matrix 6.0 based on Rhinoceros 3D 4.0 SR9). When starting it, the software is asking me to set the DPI to normal.
    How can I modify the DPI? I already tried different resolution settings. It doesn't change the problem.
    Thanks for help

    DPI is how many pixels per inch of the LCD. You can't change that.
    I think the software needs a specific resolution or LCD size. Try lowering the resolution to 1280x800 or try an external monitor.

  • How can we free memory?

    how can we free memory? what do "alter system flush shared_pool" and "alter system flush buffer_cache" commands do?

    If you want to reduce the size of the SGA, you could reduce initialization parameters that are taken into account to size the SGA: see the the Concepts Guide.
    The statements that you have mentionned do no reduce the size of the SGA allocated at OS level but only flush or empty the related caches.

  • How can I reclaim memory/storage so I can burn a DVD with iDVD?

    How can I reclaim memory/storage so I can burn a DVD with iDVD?

    Move your iPhoto Library and/or your iTunes library to and external HD that is formatted OS X Extended (journaled) and run them from there. Be sure to try the libraries on the EHD before you delete them from the boot drive.
    This should easily free up the 25 GB minimum needed for iDVD to create and burn video DVD efficiently.
    Follow this workflow to help assure the best qualty video DVD:
    Once you have the project as you want it save it as a disk image via the File ➙ Save as Disk Image  menu option. This will separate the encoding process from the burn process.
    To check the encoding mount the disk image, launch DVD Player and play it.  If it plays OK with DVD Player the encoding is good.
    Then burn to disk with Disk Utility or Toast at the slowest speed available (2x-4x) to assure the best burn quality.  Always use top quality media:  Verbatim, Maxell or Taiyo Yuden DVD-R are the most recommended in these forums.

  • How can i modify lable of texfield on create user page

    Hi,
    How can i modify lable of texfield on create user page of oracle identity manager administrative console ?
    e.g. display Sponsor ID inplace of Manager ID
    Thanks

    Hi Nitesh,
    I changed in xlWebadmin.properties file and restarted the server but still it is reflecting the old lable e.g.
    In xlWebAdmin.properties file
    - global.lable.managerid= Manager ID
    I changed it to global.lable.managerid= Sponsor ID
    But still it is displaying Manager ID on User form. I am using OIM 9.1
    regards
    Edited by: YMI on Nov 26, 2009 2:45 AM

  • When I logon for XP, if I am no actively doing something for several minutes I am logoff and must reenter my logon again. How can I modify the time it stays active?

    When I first logon to windows xp if I am not actively doing something minutes I am logoff and must re-enter my ogon again. How can I modify the length of time that it stays active?

    You can find that in control panel

Maybe you are looking for

  • Unusable safari after Mountain Lion 10.8.2 upgrade

    Hi, After the last Mountain Lion update (10.8.2) using Safari is not like before to me. Every single time i wake up my Macbook Pro and run safari, pages I try to open just cant open normally, loading tooks for 2-5 min then page opens, after 5 min it

  • Attachments Not Showing up for Sort in Sent Mail

    In Lion Mail, the small paper clip icon that indicates an attachment is not showing up in the sent messages list. I'm using classic view and often I need to sort by attachments. I recently upgraded to an iMac with Lion. The attachment icons are appea

  • Date condition in IR

    Hi, Iam working on IR 11 version. There is a scenario in writing a query where i need to calculate the values for example actual==previous-current for current::: iam using date function between '01-01-08 to 06-06-08'(current) by this iam getting curr

  • Primary and Standby CM question

    In general, Primary and Standby CM's database tables, configurations, group polices should be sync'd up and looked identical, right?  What else will be different and will require to import onto standby CM manually?  Things like: SSL certificate, Secu

  • Text file into Forms

    Hi suppose in text file the data is No Name 1 abc 2 xyz and a table st_rec that has attribute no and name and i want populate my form field that are no and name with text file data and populate i can store this data into database. how i can.... Thank