How I can set the Non-standard option of -Xmxn of jvm

Hi there,
Can any one tell me how I can set the Non-standard option of -Xmxn of jvm (setp by step).Iam using Sun's jvm(jdk1.2.2).Iam facing a error(java.lang .OutOfMemory).I want to set the maximum size of the memory allocation pool.Any help will be highly appreciated.
Thanks for ur valuable Time
Bikash

you can use the following sample options to specify memory size.
EX:java -Xms128mb -Xmx512mb myClassFile

Similar Messages

  • How i can set the selected item of a dropDown component from java code

    Hi
    Thank you for reading my post
    How i can set the slected item of a DropDown component from backing beans java code ?
    it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
    In back code i have both value and display values to use them .
    can some one give me some help ?
    Thanks ,

    See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    It says
    One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back.

  • How do i get the none payment option

    ???? How Do i Get The None Payment Option ????

    You can create an iTune and App Store account without credit card details
    1. Sign out of current Apple ID if you are sign-in to one (important)
    2. Go to App Store and select a free app
    3. Tap INSTALL APP
    4. Create New Apple ID
    5. Confirm Your Country
    6. Agree with Terms and Conditions
    7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
    8. Create and answer your secret question
    9. Select NONE for Payment Method
    10. Fill in Billing Address
    11. Submit application for new Apple ID
    12. Wait for verification email
    13. When email arrive, verify your account
    14. Start downloading your free apps

  • How I can set the spelling language in Pages for iPad?

    how I can set the spelling language in Pages for iPad? may for german...

    how I can set the spelling check to other language in Papers/iPad?
    The only choices you have in the iPad itself are to change the keyboard or change the user interface language. If that doesn't do what you want, probably best ask the people who make Papers.

  • How I can set the background image in Muse for the menu I have in PSD

    I have design a layout and I want to get them converted from PS to muse. Can someone know how I can make this.
    I am trying to set the menu's top and bottom image in muse.
    Let me know how I can do it better.
    Thanks
    kristina

    Hi Kristina,
    You need to cut up the image you pasted above and also create an on/off state for all menu items. Actually, there are 4 states: Normal, Rollover, Mouse Over and Mouse Down, but you'll usually use two images as some states share the same image. Then you need to use the menu widget and supply your cut up images for all states in that widget. Check this link http://www.adobekb.com/building_your_first_website_pt4.html at around this section:
    Cheers,
    Mario

  • Hello! How I can set the turbo boost on the i5 procesor?

    Hello! I don't know how to activate the turbo boost on my mac book air. Maybe it's automatic but I need to have it also for apllication that doesn't ask it, for example. I want to run a game with 2.7 ghz, so that I can play it better. Answer my question please.

    The user cannot do that.  Only the OSX will do that when necessary.
    Ciao.

  • How i can set break point in standard sap modulepool

    how i can set breakpoint in standard sap modulepool

    If you know the program name, it is no different from normal setting of break point.
    It will have a break point button in the abap editor.
    Place the cursor on the line and set the break point.
    Then run the transaction in another session.
    Or type /h from the transaction itsefl to start the debugging.
    see the wiki faqs section for debuging
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/abap+debugger&
    Regards,
    Ravi

  • How do i set the Instapaper "read later" link as an app tab?

    I'm loving the App Tab feature but the only thing I can't figure out is how I can set the Instapaper "read later" link as an app tab. Anybody have a suggestion?
    Thanks!

    Firefox Portable is an edited version of firefox. It's not exactly the same as the standard browser released by mozilla.
    It sounds like the portable apps developers have made a change to firefox 12 that has resulted in the change in toolbar layout. I suggest getting in touch with them to ask if there is any way to reverse the change. Possibly they are not aware of it yet. There is a support page here:
    [http://portableapps.com/support/chat Portable Apps Chat Support]

  • How do you set the time period on IMAP email accounts (razr maxx)

    Hi Guys -
    Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
    Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
    On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
    Your help is appreciated!
    Best Wishes for the Holiday Season.
    -Rich

    Hey Rich.  Once in 'settings,' there should be a "days to sync' under the 'data usage' section.   You don't have that?

  • How do you set the burn rate?

    I have been told that best results are attained when DVDs are burned at a slow rate, such as 4X. I have no idea of the rate of my burns, and I 'm wondering how I can set the rate at 4X. Is the burn rate manipulated thru DVD Studio Pro, or is it simply determined by the balnk media you insert? For example: does an 8X disc automatically burn at 8X, and a 4X disc automatically burn at 4X?
    Thanks, Bob

    The burn rate cannot be higher than what the drive is rated for, or the speed the disc is rated for, whichever is lower. So if you have a 2x burner (most likely considering the age of your computer), then that is the maximum speed you can burn at regardless of the speed of the disc media (which could be 16x).
    Toast is software. So you would not use it "instead of" your Pioneer burner. You would use it with your Pioneer burner.

  • Please tell me how I can set an array field to an object?

    Hi,
    Please tell me how I can set the plID (an array field) to an object? This result is for one Agent object. Suppose the Agent object only has these two fields.
    If a sql query result is something like this (which is one object).
    agent_last PLID
    smith      5
    smith               6
    smith               7
    Agent agent = new Agent();
    StringBuffer sql = new StringBuffer();
    int count = getPLNo(agentID);// # of the query result
    try {
    SQL tsql = new SQL();
    Connection conn = tsql.getConnection();
    sql.append("SELECT agent_last, b.PLID ");
    sql.append("FROM Agent a, PL b ");
    sql.append("where a.agent_id = b.agent_id ");
    sql.append("and a.agent_id = ? ");
    PreparedStatement st = conn.prepareStatement(sql.toString());
    st.setInt(1, agentID);
    ResultSet rs = st.executeQuery();
    while (rs.next()) {
    agent.setAgentID(agentID);
    agent.setAgentLast(rs.getString(1));
    for ( int i = 0 ; i < count; i++ ) {               //how to do it?
    agent.setPrivateLabelID(new int[] {rs.getInt(2)});//how to do it?
    st.close();
    rs.close();
    tsql.close();
    } catch (SQLException e) {
    System.out.println("SQL: " + e.getMessage());
    throw new Exception(e.getMessage());
    } catch (Exception e) {
    System.out.println("Except: " + e.getMessage());
    throw new Exception(e.getMessage());
    return agent;
    }

    If that's not what you're looking for, then you get
    what you pay for. :-)Hi fmeyer75,
    Thank you very much for your input. That's exactly what I was looking for and it works!!!!
    For anyone who has similar issue, I changed the code a little to make it work with my existing ones. I never splited queries before, so please tell me if there's a better way to handle it.
    I keep the first half part and changed a little for the second half. Below is what I use now
    sql.setLength(0);
    sql.append("SELECT PLID ");
    sql.append("FROM PL ");
    sql.append("where agent_id = ? ");
    List list = new ArrayList();
    PreparedStatement st2 = conn.prepareStatement(sql.toString());
    st2.setInt(1, agentID);
    ResultSet rs2 = st2.executeQuery();
    while (rs2.next()) {
                 list.add(new Integer(rs2.getInt(1)));
    agent.setPrivateLabelID(new int[list.size()]) ;
    for ( int i = 0 ; i < list.size(); i++ ) {
    agent.getPrivateLabelID() = ((Integer)
    list.get(i)).intValue() ;
    st.close();
    rs.close();
    st2.close();
    rs2.close();

  • How we can set timing in VA02.

    Hi All,
    How we can set the timing to "Send with periodically processed job" in VA02.
    Thanks in advance,
    SN

    Goto Output and hit further data tab.There you will find the date and time fields.
    Hi u can close the question if it is answered. do u need any other input regarding this issue?
    Edited by: Sam C on Oct 31, 2008 11:21 AM

  • HT2534 Tried to set up my Apple ID and the none button option for Billing is not showing up, what can I do?

    Tried to set up my Apple ID and the none button option for Billing is not showing up, what can I do?

    Try this support page provided by Apple...
    http://support.apple.com/kb/ht2534

  • How to set the parameter selection *optional* for each subreport?

    Hi,
    I am using Crystal Reprots 11.
    I create 10 subreports, and each subreport contains a Parameters Field.
    The 10 subreports are put in 10 footer sections in increasing order, i.e. subreport1, subreport2, subreport3, ..., subreport10.
    When I use "Print Preview" to take a look at the whole report, CR prompts a "Edit Values" window for selecting parameter values for all 10 subreports.
    For example, if I only select parameter values for subreport1 and click "OK", 9 error messages on the "Edit Values" window come out above the selection list box of every other subreports (i.e. subreport2 ~ subreport10) showing that: 'The value is not valid'.
    Sometimes, I just want to review some specific subreports but not all.
    How should I do to set the parameter selection optional (not mandatory) for each subreport?
    Thank you in adavance.
    Edited by: Holdup on Feb 17, 2012 3:44 PM

    Hi,
    Here's how you can make the prompts optional (Assuming you're using CR 2008 or higher):
    1) Go into each subreport
    2) You should see the parameter in the Field Explorer. Right-click the name and select Edit > Look for an option called 'Optional Prompt'. Set it to true
    3) If you have a record selection in the subreport, then you need to modify the selection formula to something like this:
    if not(hasvalue({?Parameter_Name})) then True else = {?Parameter_Name}
    Hope this helps!
    -Abhilash

  • HT5621 When I got my new iPhone and was trying to switch everything over I accidentally set up a new icloud account with one email and had one on my old iphone with another account. Does anyone know how I can merge the two accounts?

    When I got my new iPhone and was trying to switch everything over I accidentally set up a new icloud account with one email and had one on my old iphone with another account. Does anyone know how I can merge the two accounts?

    You cannot merge Apple IDs but you can go to Settings > iCloud and 'Delete Account'.  When prompted to turn off documents and data, choose the only option which is Delete from my iPhone, but on the other prompt for Contacts, Calendars, etc you can choose 'Keep on my iPhone'  Then once the Account is Deleted form the iPhone, log back in with the correct Apple ID and choose Merge when prompted.  This will merge your data from this iPhone with that iCloud account effectively putting your devices on the same account.

Maybe you are looking for

  • Credit Note in case of return scenario

    Hi, In case of return scenario, credit note is issued with reference to return order or return delivery? I am unable to see the copy control setting in IDES for RE(Return Order) to G2(Credit Memo). Could any one please let me know the setting for the

  • How can i hook up ipad mini to apple hifi

    Can i play music through my hifi with the ipad mini??

  • HT1725 Downloading iTunes movie

    I'm trying to download a movie on iTunes it gets close to the end and right before it ends it restarts downloading again don't know what to do I can't seem to cancel it.

  • IProcurement - Create link on main Page

    Hi I have a requirement to create a link on the iProcurement Home Page that points to an external link where all the help documentation has been created by users (i.e. on a Sharepoint Server) The users have created documentation on a sharepoint folde

  • Catalog.sql, catproc.sql

    Hi, I created a database manually. Then I run the scripts catproc.sql, catalog.sql and I obtained some errors ORA-01432 - public synonym to be dropped and then drop public synonym. To be ok? To pass with courage at the next step importing the full da