Help please :how to debug OutOfMemory exception

Hello
Our application gives OutofMemory exception randomly. The server we are using has enough memory. Can anyone suggest an approach to debug this issue. Our server has lots of memory. Our memory Java parameters are set to default
Ammar

The amount of physical memory you have on your server has no bearing on OutOfMemoryErrors; this is solely affected by the memory parameters you pass into the Java VM. Try increasing the upper memory limit.
I wrote an article a while back about tracing memory leaks. You can use the technique described in this article to see why your application is using so much memory:
http://www.oracle.com/technology/products/jdev/tips/duff/debugger_memoryleaks3.html
Thanks,
Brian

Similar Messages

  • Can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    can anyone help please. how do i get the home button to appear on the touch screen my home button has stopped working?

    I have same problem.
    However, I am unable to turn on Assistive Touch.
    At one time I was able to activate it, but it went away and now I cant reactivate.
    What is the solution?

  • Plz help me how to debug workflow

    hi one and all,
    plz help me how to debug workflow .
    thanking u every body.

    Hi
    first save and activate then press ctrl+shift F9 then goto F8 and press F5 and F6(function) and output for F7......
    Rewards If useful,
    Thanks & regards,
    S.Suresh

  • How to diagnose OutOfMemory Exceptions?

    We have a 32-bit .NET application that sometimes fire an OutOfMemory exception.
    The stack trace shows the victim of out of memory condition.
    How can we diagnose this problem?
    Is there a way to find out what consumes memory?

    Hello Gokhan,
    I suggest that you could check this OutOfMemoryException
    class to have a clear know why and when this exception is thrown:https://msdn.microsoft.com/en-us/library/system.outofmemoryexception%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    and this blog:
    “Out Of Memory” Does Not Refer to Physical Memory
    >>Is there a way to find out what consumes memory?
    To analyse an application at memory level, you could take a memory dump of your program at the point in time OutOfMemoryException occurs and analyze what's taking up so much memory by using tools as Windbd, Tess Ferrandez has an excellent How-To series on
    her blog:.NET Debugging Demos Lab 3: Memory, you could refer to it.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • HELP PLEASE How do I remove my credit info from iOS7. "None" is not there anymore as a selection btw help.

    Please help idk how to remove credit information the "none" selection is gone now ios7 plz help

    Yes it is...

  • How to handle OutOfMemory Exception

    hi,
    I just want to know how to OutOfMemory Exception which I m getting in case of dealing with files. I m dealing with more than 250 files at a time and that too of almost 7 MB in size

    If your machine has enough memory, you should try telling the jvm that it is allowed to use more. Do this with paramters on your java call (there is also a place to set these if you use Forte or JBuilder)
    java -ms16m -mx64m
    -ms is the minimum memory size
    -mx is the max size, make this as big as your need and your machine can support
    see the docs for more info.

  • Help please - how do i back up my pc photos to icloud so that they stay there??

    Hi,
    This is possibly the stupid question of the day but please bear with me and help if you can, as I've searched and just can't figure it out. I'm not usually PC illiterate!! I'm trying to work out how to back up my PC photos (Windows 7) to icloud. I thought it might be as simple as pasting them into photostream but apparently if they're linked to photostream they only stay there for 30 days. I am totally lost but have bought sufficient storage space to be able to hold them all.
    I would really appreciate any help - really struggling to work it out, whilst simultaneously entertaining 1 year old!!
    Thanks in advance

    iCloud Photo Library beta FAQ - Apple Support

  • Still having navigation problems and need help with how to debug

    Hi,
    I've been porting over a servlet project to JSF and I'm still having navigation problems. I thought the problem might have been because the original project used HTML frames and so the "from-view-id" JSP defined the frame/framesets and the specific JSP that does the submit (and so is named in the "from-view-id" is never defined in a "to-view-id" attribute). I've now switched to using an IFRAME, and that resolves that problem. So now the JSP is defined in a "to-view-id" attribute and it includes an named IFRAME that can be used as a target. I press the submit button and I get not the JSP expected butinstead the same JSP displayed inside its own IFRAME.
    Here is the code for the submit. I've simplified it as much as possible with a static action (originally it was a call to a method) just to try and get things to work. This is the current version:
    <h:commandButton value="View Alias" action="foo" styleClass="select" type="submit" />Here is the navigation rule in faces-config.xml. Again, the problem is that SelectManager get redisplayed in the IFRAME instead of display.jsp.
    <navigation-rule>
       <from-view-id>/SelectManager.jsp</from-view-id>
       <navigation-case>
          <from-outcome>foo</from-outcome>
          <to-view-id>/display.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>I have also tried it without the "from-outcome-value" which I presume means that the "to-view-id" gets displayed unconditionally and it still fails. Any ideas on how I can debug this? (I'm using GlassFish if that's important to know)
    Rob Tanner
    Linfield College

    Raymond, The real trick is avoid doing technical things when coming down with the flu (I should also add that I'm a JSF newbie). Reading your original message this time I see what you're suggesting and found a conversion error although I don't understand it. Here's the code (including the <h:message/>):
                <h:selectOneMenu value="#{members.dcodes}"
                  style="color: #7f0000" id="selector">
                  <f:selectItems value="#{members.departmentList}" />
                </h:selectOneMenu> 
                <h:message for="selector" style="color:white"/>And here's a snippet of the generated HTML:
    <select id="j_id_id26:selector" name="j_id_id26:selector" size="1" style="color: #7f0000">
             <option value="aad" selected="selected">Academic Advising</option>
         <option value="aaf">Academic Affairs</option>
         <option value="adm">Admission</option>
         <option value="up">Upward Bound</option>
    </select>If I select "Admission" for example, the error I get is:
    Conversion Error setting value 'adm' for 'null Converter'.Since everything is a String value, I don't get the error. Could someone please enlighten me.
    Thanks.

  • Help Please: How to Undo Tables to AP divs

    I think I did something silly! I was playing around in Dreamweaver on and I was looking under the tabs > Modify > Convert > Tables to AP divs. So I clicked on "Tables to AP divs" (just to see what it would do) THINKING that anything I would have done I would be able to "undo" - well no, I couldn't undo it. The page is titled "RequestOrder". Then I opened up another page called "RequestInspection" and this also effected that page! I opened up a whole other website and all pages titled "Request[any name]" also had the same effect! Any pages that do not have "Request" in the title have not been effected.
    Can someone please tell me what I did wrong and how to please undo it? When I view the pages in the browser everything looks normal. But I would like it all to go back to the way it was.
    I have learned my lesson - not to just click on something just to see what it does...usually I don't get into a situation where I cannot undo something.
    Thanks so much!!
    -J
    Example of what the page looks like in Dreamweaver:

    JanineP wrote:
    I have learned my lesson - not to just click on something just to see what it does...usually I don't get into a situation where I cannot undo something.
    My father said the same thing four times in 2009, after I had to reformat his entire system in 2008, 2007 and 2006 for things he "clicked on to see what they did". What they did was install rootkit viruses that even AVG couldn't remove.
    I don't touch his system anymore. A local company does it for $200 a shot... This is a $300 e-machine we're talking abut and he spends $800- $1000 a year to "clean it up" because he STILL hasn't learned to investigate things before putting his files at risk by clikcing things.
    You CAN undo this, but it won't be with a single click (sorry to disappoint you). Even if there were a "one click" way to do it, I'd recommend that you do what I'm going to suggest as a lesson in why you don't click things "just to see what they do" with something important.
    Open your site one page at a time and above every APDiv, insert a new table, then copy (one cell at a time) the content from the APDiv to the table, and delete the ADiv.
    Better yet, since using TABLES for LAYOUT is a bad practice that has been shunned for about seven years now, just start with a new page, using CSS and (not AP) DIVs, and lay it out all over. Then copy the content from your main body into the proper sections and "Save As" to replace each page with one that is W3C compliant and a lot simpler.
    Sorry if that sounds a little sarcastic, but I just got off the phone with a 'friend' who wants me to come over and clean up her PC because she opened an infected e-mail and her six months expired trial of McAfee can't help.I just lost a friend, but saved myself a migraine.

  • HELP PLEASE~How to turn the buzz off my iSight iMacG5...

    Hi all,
    I seriously need some help here. I've got my iMac 20" couple weeks ago, and it was quiet at first. I didn't hear the buzz sound coming from the middle left until maybe about 3~5 days. Now my roommate just got a 17" iSight iMac, which is whisper quiet. I still can hear the fan or air goes in and out from her machine but it is totally acceptable unlike mine...
    I thought it was due to the upgrade to 10.4.3, so I reinstalled the OS again but the sound's still there. I then took it to a mac store to examine it. This evening a techincian told me it normally functions in a quiet room and he thinks everything's right, so I took it back but the sound's still there...
    Few iMac 20" users here also have the same buzz problems like mine. I really hope it becomes as quiet as the first time I got it, so please let me know if you have any ideas to solve this...The buzz really annoys me especially when I don't hear anything from my roomate's...
    Any input will be much appreicated. Thank you.

    Why don't try reseting the SMU here are the Directions on how to do it.
    The SMU (System Management Unit) is a microcontroller chip on the logic board that controls all power functions for your computer. If your computer is experiencing any power issue, resetting the SMU may resolve it. The SMU controls several functions, including:
    Telling the computer when to turn on, turn off, sleep, wake, idle, and so on.
    Handling system resets from various commands.
    Controlling the fans.
    Note that resetting the SMU does not reset the PRAM. Resetting the SMU will not resolve issues in which your computer is unresponsive—in these situations, restarting your computer will generally suffice. If your computer isn't responding, perform these steps one at a time, in this order, until the issue has been resolved:
    Force Quit (Option-Command-Escape).
    Restart (Control-Command-Power).
    Force Shut Down (press the power button for 10 seconds).
    Resetting the SMU can resolve some computer issues such as not starting up, not displaying video, sleep issues, fan noise issues, and so on. If your computer still exhibits these types of issues even after you've restarted the computer, try resetting the SMU. To reset the SMU on an iMac G5 (Ambient Light Sensor) computer, simply do the following:
    Turn off the computer by choosing Shut Down from the Apple menu, or by holding the power button until the computer turns off.
    Unplug all cables from the computer, including the power cord.
    Wait 10 seconds.
    Plug in the power cord while simultaneously pressing and holding the power button on the back of the computer.
    Let go of the power button.
    Press the power button once more to start up your iMac.
    Unlike earlier iMac G5 computer models, the iMac G5 (Ambient Light Sensor) and iMac G5 (iSight) computers do not have a button on the main logic board for resetting the SMU. This eliminates the need to remove the computer's back cover to reset the SMU.
    Post back, Miguel

  • Help Please: how to set JDBC properties for data encryption in BC4J

    Hello,
    I am trying to implement JDBC Thin Driver Support for Data Encryption and Integrity.
    With java.sql.Connection and java.util.Properties, one would do something like the following code:
    DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
    Properties props = new Properties();
    int level = AnoServices.REQUIRED;
    props.put("oracle.net.encryption_client", Service.getLevelString(level));
    props.put("oracle.net.encryption_types_client", "( RC4_40 )");
    props.put("oracle.net.crypto_checksum_client",Service.getLevelString(level));
    props.put("oracle.net.crypto_checksum_types_client", "( MD5 )");
    Connection conn = DriverManager.getConnection ("jdbc:oracle:thin:@localhost:1521:main", props);
    But, how can we do this with BC4J objects? Can we set this properties via EnvInfoProvider class? Please help. Thank you very much in advance.
    Zhirong

    Hi,
    Try adding the code in the PBO part of your custom program used for the custom screen which you have created and added inside the BADI.
    Regards,
    Harish

  • I use OSX version 10.8.5 and iphoto on a MAC.  I upgraded to elements 12 and in IPHOTO it keeps going to Elements 9???  Help please - how do I make it reference the new version???

    I have a MAC and use IPHOTO and had used Adobe Elements 9 as the external Editor and IPHOTO as default.  NOW I upgraded to Adobe elements 12 and IPHOTO only recognoizes Adobe Elements 9???  HOW do I make it go to the new external editor??  I appreciate any help you can provide?

    You need to reset the external image editor in iPhoto's Advanced preference pane to the right version. I assume there's an Adobe Photoshop Elements 12 folder in your Applications folder.  This screenshot is for PSE 10 but would be the same for 12:
    Happy Holidays

  • Help Please: how can I burn a dvd movie without a theme?

    I know this has been asked before. But none of the previous answers/suggestions seem to work. I've tried to use the "looping" method from the help menu, I still get a theme, now at the end of my video "package". And it doesn't "loop". I've tried to take a jpeg from photos and cover the theme using the option key, but that doesn't work either. I just want to have the option to be able to "turn off" the themes and create a clean video dvd for people who don't have time to choose on-screen buttons. Thanks in advance for any help you can provide

    Hey maybe you can help me. I was trying to figure out how to burn an iPhoto slideshow on iDVD, but don't want to use the lame Apple themes. I went to the link you pointed out about one-step iDVD's, but the problem is you have to have a movie, and iPhoto won't let me export my slideshow while keeping the music in sync. Insane.
    So two questions... do you know how to export a slideshow to .M4V or .MOV without losing the sync between all the pictures and the music? I've got 88 slides all set to specific timing and Ken Burns effect, but every time I do an export the music becomes disconnected from the pictures and goes out of sync.
    I did do an export to iDVD and it seemed to stay in sync but I can't figure out how to get rid of the ridiculous theme that iDVD is automatically using. I don't want a theme at all.
    When is someone at Apple going to figure out that most people just want a plain wrapper?
    Anyway, do you know any answers to my problems? Thanks. I've lost 4 slideshows this week as iPhoto keeps losing all the slide settings.

  • Mr. Steven help please : How you can pass paremeter by(ADF)

    if you have two tables
    (table a : E_mail{primary key},a_name)
    (table b : E_mail{primary key},b_name)
    & the relation between this tables by {E_mail} .
    I create view have this two table(two entity) , but i hide the fields
    E_mail & b_name from (table b) , then i drag and drop this view to JSP
    page called (saveData) and put Commit and create . So, what i need ?
    When i commit the page(saveData)i want put E_mail from (table a) to E_mail(table b)
    How i can do it ?????
    ==> if you have an example please give it to me ?

    I am working with JDev 10.1.2
    -what i did ?
    -(1)I create view have the entity objects(from two table) named : testview-
    (2)i am go to java file of the view(testview) and write :
    public void seta_Email(Number value)
    setAttributeInternal(a_Email, value); //from table A
    setAttributeInternal(b_Email, value); //from table B
    protected void create(AttributeList attributeList)
    a t1 = get_a();
    b t2 = get_b();
    try
    t1.create(attributeList);
    t2.create(t1);
    }catch (JboException ex)
    t1.revert();
    t2.revert();
    throw ex;
    (3)then i am go to AppModule(javafile) and write :
    public void account()
    ViewObject vo = get_bView1();
    vo.clearCache();
    vo.setMaxFetchSize(0);
    vo.executeQuery();
    Row newRow = vo.createRow();
    vo.insertRow(newRow);
    newRow.setNewRowState(Row.STATUS_INITIALIZED);
    vo.setCurrentRow(newRow);
    (4) .................
    then what i do ????
    please Mr.Steven tell me what's next step ???

  • Some help please: how to remove incompatible audio units?

    Hello forum readers,
    If someone knows, a little help would be appreciated:
    When staring Logic Pro X, each time Audio Units are automatically being scanned. All the time I get a window with the message "Incompatible Audio Units found":
    "While verifying Audio Unit compatibility, Logic Pro X encountered 1 Audio Unit plug-in(s) which did not pass the Apple AU validation. These plug-ins have been excluded from further usage in Logic Pro X to prevent possible problems or crashes. You can start the AU Manager now to review the validation results or continue the startup process."
    When opening the Audio Units manager, I see that "AUSpeechSynthesis (Automap)applttsp"  (Manufacturer: Apple, type: generator) couldn't be opened. I don't know how to remove or bypass this plug-in, as the option "disable failed audio units" doesn't seem to work. Now each time I start Logic Pro X, the same message keeps appearing. I also can't find that file on my Mac, a searched for it and also the Finder can't find it.
    Does anyone know how to solve this? Thanks a lot in advance!
    Kind regards,
    Thijs

    I have the same problem but I can´t figure out how to unwrap AUSpeechSynthesis. I can´t even find it in the filesystem with spotlight.....   ;o(
    And yes I have turned on the 64bit plugin friendly option in Automap's Preferences.
    Thanks for your help!

Maybe you are looking for