OOM PermGen... How to view the content of permgen

I have a pretty big java application running on windows and linux (redhat) using JBoss as the application server.
The application has been running for a long time without issues and now, with the end of a new release of our software, under heavy load, we are running out of perm gen space.
What I would like to see is a tool that lets me view the content of the perm gen space so I can determine why we are using so much memory.
I am aware of jmap -permstat (on linux only) that should let you view some info about permgem but for me, jmap connects to the java process and never comes back. I tried a profiler (jprofiler) and again, I can't find info about what is occupying the permgen memory space.
Can someone suggest tools, or methods to get to the content of the permgen space so I can determine what our issue is?
Here are our startup options; as you can see it has been tuned quite a bit for maximum performance for our usage patterns.
I would appreciate any help chasing down this issue.
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_02-b05, mixed mode)
-Xms8000m
-Xmx8000m
-Xss256k
-XX:PermSize=256m
-XX:MaxPermSize=256m
-Xmaxjitcodesize96m
-XX:+UseParNewGC
-XX:+HandlePromotionFailure
-XX:ParallelGCThreads=16
-XX:GCHeapFreeLimit=10
-XX:NewRatio=3
-XX:SurvivorRatio=2
-XX:InitialSurvivorRatio=2
-XX:MinSurvivorRatio=2
-XX:GCTimeRatio=19
-XX:MaxTenuringThreshold=128
-XX:TargetSurvivorRatio=90
-XX:+ClassUnloading
-XX:ErrorFile=hs_err_<pid>.log
-XX:HeapDumpPath=java_<pid>.hprof
-XX:-HeapDumpOnOutOfMemoryError

jklopkjl wrote:
Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
query ALL_SOURCE
SQL> desc all_source
Name                                      Null?    Type
OWNER                                              VARCHAR2(30)
NAME                                               VARCHAR2(30)
TYPE                                               VARCHAR2(12)
LINE                                               NUMBER
TEXT                                               VARCHAR2(4000)

Similar Messages

  • Hi i am using oracle 10g how to view the content of the stored procedure or trigger ?

    Hi i am using oracle 10g .How to edit  the content of the stored procedure or trigger ?

    jklopkjl wrote:
    Hi i am using oracle 10g .How to view the content of the stored procedure or trigger ?
    query ALL_SOURCE
    SQL> desc all_source
    Name                                      Null?    Type
    OWNER                                              VARCHAR2(30)
    NAME                                               VARCHAR2(30)
    TYPE                                               VARCHAR2(12)
    LINE                                               NUMBER
    TEXT                                               VARCHAR2(4000)

  • When I get messages from Barnes and Noble, the text is blank. If I hit reply or forward, I can then see the content. This only happens with Barnes and Noble. Any suggestions on how to view the content?

    When I get messages from Barnes and Noble, the text is blank. If I hit reply or forward, I can then see the content. This only happens with Barnes and Noble. Any suggestions on how to view the content?

    I'm sorry, but your sister, unless she had already turned on the "Find my iPhone" feature and the person who took the phone has not disabled it, is out of luck. She should report the theft to local police authorities, including the serial number of her iPhone. While her experience is unfortunate, there are good reasons why Apple cannot do anything else about it.
    I hope she gets her phone back.
    Best of luck.

  • How to view the content (contained objects) of transport files without importing?

    Hi,
    we do often receive transport files (DATA and CODILE) from third parties.
    If is is done correctly the supplier of the transport files devliver also additional information about the detailed content of the transport, e.g object lists as plain text file, so that we are informed which objekts will be imported in advance.
    But some suppliers don't. Or we want only check, if additional info and real transport content match.
    So for that reason  I am looking for a possible way to view the object list of such transports without adding it to the import queue or importing it to a sandbox system or even add it to the import buffer..
    Most likely this should be done by a standalone tool (on Windows) or a tool running on SAP accessing the transportfiles (preference: stored only on the client PC  and not added to the transport directory)
    So my question is: Is there any tool that can extract the object list from the transport files and display it?
    Helst regards
    Helmut Fischer

    Helmut,
    If you don't have access to the server console, it might be possible to 'trick' tp into working from a workstation, but I wouldn't bet on it. You'd have to fake up a profile for it. I haven't tried this.
    Peering into the contents of a delivered transport file would be something that your Basis team would typically do. My suggestion is to work with them, either to use tp command-line option from the server console, or if that's not reasonable, then yes, go ahead and add it to the import queue of one of your sandbox systems. You can always delete it from the queue again later. If you don't actually import it, it isn't going to hurt anything.
    To do any of these options is going to require some level of filesystem access to your transport host, as you need to copy the two files that make up the transport there. You need to put the 'K' file into \usr\sap\trans\cofiles and the 'R' file into \usr\sap\trans\data. Then, you can either use the tp command-line tool, or you can go into STMS, go into the import queue of any system in the transport domain (so a sandbox is fine), and use Extras... Other Requests... Add and type in the transport request ID. Yes, this adds some entries about the transport into a few tables, but it doesn't actually import the transport, and it doesn't change anything about your system. It just allows the transport to show up as importable in the queue, and that will make it so that you can read the object list of the transport. Then, if you decide not to import it, you can delete it from the queue, and your system is back to the way it was before. Also, doing this will not put the transport into any other system's queue. Even if you import the transport (into a sandbox system), it won't show up in any other system's queue until you forward it.
    Regards,
    Matt

  • How to view the content of Documents attached in Transaction FB03.

    Hi Gurus,
    I want to view / download the content of an attachment, attached in transaction FB03.
    I am not able to view them directly due to some application error.
    I need to check whether a document which is in the attachment list is having any data or not.
    If there is any FM to do this, please let me know.
    Regards,
    Amit.

    I do not know the answer to that. But you can use ssltap (More info in [http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html|http://www.mozilla.org/projects/security/pki/nss/tools/ssltap.html]) to see the exact request and response being sent to and from the server.

  • How To View The Contents Of A Node?

    I have retrieved a node using Oracle Business Components for Java's writeXML method, and I'd like to view its contents.
    I have tried to append it to a document (so that I can use xmlOutput.output(document, System.out) to view the node) using appendChild(node), but I get this error:
    org.apache.crimson.tree.DomEx: WRONG_DOCUMENT_ERR: That node doesn't belong in this document.
    I have also tried to import the node using importNode(node, boolean) but I get this error:
    java.lang.IllegalArgumentException: Node is not a rg.apache.crimson.tree implementation.
    Lastly, I have tried this:
    javax.xml.transform.dom.DOMSource domSource = new javax.xml.transform.dom.DOMSource(xmlNode);
    javax.xml.transform.TransformerFactory txnfac = javax.xml.transform.TransformerFactory.newInstance();
    File xslfile = new File("C:\\xml\\testoutput.xsl");
    StreamSource xslsource = new StreamSource(xslfile);
    javax.xml.transform.Transformer txn = txnfac.newTransformer(xslsource);
    txn.transform(domSource, new StreamResult(new FileOutputStream("C:\\xml\\result.xml")));
    but then I get this error:
    java.lang.AbstractMethodError
         void org.apache.xalan.transformer.TransformerImpl.transform(javax.xml.transform.Source, javax.xml.transform.Result)
    Any help would be greatly appreciated.

    ElementNode root = (ElementNode)document.getDocumentElement();
    String rootName = root.getTagName();
    where document is build after parsing the xml source.
    Document document = builder.parse(xml);
    I could only get the content of the root but not one of the contents of child nodes... :(
    If you find a solution...pls let me know

  • I have an external hard drive connected via usb, how can I view the contents?

    I'm new to Mac... I have an external hard drive, I plugged it in to the usb port but don't know how to view the contents.  What do I do?

    Open Finder (by clicking on the icon int he Dock) and your external USB disk should show up in the left pane under "Devices".
    Note that it has to be formatted for Mac if you want to read and write data.

  • How to see the content of a website's certificate?

    I was not able to find how to view the content of a website's certificate using the Android version of Firefox.
    On the desktop, this is possible via a 'view' button in the popup which appear when we click on the lock icon near the url bar. On Firefox for Android, I cannot find this button.

    That's exactly what I wanted to point : it is missing.
    I wish it can be added.

  • How can I view the contents of a free trial for adobe fireworks cs6 on mac

    how can I view the contents of a free trial for adobe fireworks cs6 on mac.
    My friend told me to find the application in finder then hit control and click it and then it should give you the option to click
    "view package contents"
    This was not the case
    please help thank you

    When posting in Apple Communties/Forums/Message Boards.......It would help us to know which iMac model you have, which OS & version you're using, how much RAM, etc. You can have this info displayed on the bottom of every post by completing your system profile and filling in the information asked for.
    CLICKY CLICK---> https://discussions.apple.com/docs/DOC-3602
    CLICKY CLICK-----> Help us to help you on these forums

  • How to center the content in crystal report viewer?

    open crystal report viewer in winform, default at the left top
    after maxmium the winform window, content become at the center
    another odd thing is that i set window winform size 1208*1024 and crystal report view is fill
    then tried, content is not center any more
    How to center the content in crystal report viewer in code?
    Edited by: Mathew_666 on Oct 6, 2011 5:20 AM

    Since there is no control for center you'll need to do the math on your own. This is just a rough draft, but you'll get the idea.
    One of the things you'll need to figure out is your buffer to help you give a centered feel. We'll say that value is 50 in this case.
    Height
    int buffer = 50;
    int formHeight = 1000; // we'll assume a height of 1000 in this case
    int crystalTop = buffer;
    int crystalViewerHeight = formHeight - (buffer * 2); // buffer is at the top and bottom
    Width
    int formWidth = 1000; // we'll assume a width of 1000 in this case
    int crystalLeft = buffer;
    int crystalViewerWidth = formWidth - (buffer * 2); // buffer is at the top and bottom

  • How can I view the content within the message without having to double click on the message. I used to be able to see content of the message alongside it .

    How can I view the content of the message without having to double click on it; I used to be able to see content of the message next to it .

    Is this in Mail?
    You can (I do all the time). The oreview window can be resized by dragging the message list window border - you might accidentally have closed it up

  • How do I view the contents of my iPad in Mountain Lion?

    How do I view the contents of my iPad in Mountain Lion?

    DiskAid needn't cost anything depending on what you want to do - I've been using it for months without being hindered by using the free version.  You do need the up to date version for use on Mountain Lion though...
    Comparison between free and paid versions can be found at http://www.digidna.net/diskaid/buy .

  • Is it possible to view the content of multiple lists(located in multiple webs) in one ListViewWebpart? And how can I filter a multivalue column?

    Is it possible to view the content of multiple lists, that are located in different webs as well, in just one ListViewWebpart? Could I maybe change the query programmatically so that it get's the content this way?
    I know that I could use the Content Query Webpart instead - actually I have been using that so far, but the problem is, that it brings no standard Sharepoint functionality for lists with it... I had to write the xsl style sheet, there are no dynamic filters
    that the user could set, there are no default list operations the user could use.
    The ListViewWepart has all of these, but it only shows the content of one list...
    And my second problem:
    One column can contain multiple values (like a column that contains multiple users or user groups that are related to one entry). I can filter every other column with the standard filters, but not the column with multiple values in it. Is it possible to
    activate that or maybe add this feature programmatically?

    You can fetch data from multiple lists in ListViewWebpart, this can be possible through Content Query web part or Custom Web Part using visual studio but in that case you can not get the standard SharePoint funcationality for list (which is available in
    ListViewWebparts).
    No OOB filter available for multi-choice column, you also have to go with custom solution to achieve this.
    Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer.

  • How to read the content in one node of XML in Java? Pls help

    My dear brothers,
    I am a newbie of XML, I have a exercise which is creating a Tree View from XML file. But the trouble is I do not know how to read the content in one node of XML file. I decide to use the algorithm as following:
    1. Create a GUI form which gives the ability for user to choose a XML file (ok)
    2. Load XML and return the file (ok)
    3. Read the file from node to node to create the node in Tree View (?!)
    Please help me, and if you are enough kind, please give me an small example to easy understand. Thanks in advance.
    Hoang Yen Binh

    I hope this one helps you.
         <ABC Type="ProductBased" ProdName="One" Location="India">
              <CEO>Raj</CEO>
              <Finance>Vikram</Finance>
              <HR>Karthik</HR>
              <Technical>Satish</Technical>
         </ABC>
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    import org.w3c.dom.NamedNodeMap;
    import org.w3c.dom.Attr;
    import org.w3c.dom.NodeList;
    import org.w3c.dom.Node;
    import org.w3c.dom.DOMException;
    import javax.xml.parsers.ParserConfigurationException;
    import org.xml.sax.SAXException;
    import java.io.File;
    import java.io.IOException;
    public class XmlReading {
         Document doc;
         Element element;
         public static void main(String[] args) throws Exception{
              XmlReading xr = new XmlReading();
              xr.getXmlParser(args);
         public void getXmlParser(String[] args) {
              DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
                   if(args.length != 1) {
                        System.err.println("Argument Required");
              try {
                   DocumentBuilder builder = factory.newDocumentBuilder();
                   doc = builder.parse(new File(args[0]));
              }catch(ParserConfigurationException e1) {
              }catch(SAXException e2) {
              }catch(IOException e3) {
              getAttributes();
         public void getAttributes() {
              // Retrive the entire Document from the Dom Tree
              element = doc.getDocumentElement();
    //          System.out.println(element);
              NamedNodeMap attrs = element.getAttributes();
              // Get number of attributes in the element
         int numAttrs = attrs.getLength();
         // Process each attribute
              for (int i=0; i<numAttrs; i++) {
                   Node node = attrs.item(i);
                   // Get attribute name and value
                   String attrName = node.getNodeName();
                   String attrValue = node.getNodeValue();
                   System.out.println(attrName + ": " + attrValue);
              String s1 = element.getTagName();
              System.out.println(s1);
              // To get all the elements in a DOM Tree
              NodeList nl1 = element.getElementsByTagName("*");
              int i2 = nl1.getLength();
              System.out.println(i2);
              for(int i=0; i<i2; i++) {
                   System.out.println(nl1.item(i) + "\n");
    }

  • How to view the sql query?

    hi,
      how to view the sql query formed from the xml structure in the receiver jdbc?

    You can view SAP Note at
    http://service.sap.com/notes
    But you require SMP login ID for this which you should get from your company. The content of the notes are as follows:
    Reason and Prerequisites
    You are looking for additional parameter settings. There are two possible reasons why a feature is available via the "additional parameters" table in the "advanced mode" section of the configuration, but not as documented parameter in the configuration UI itself:
    Category 1: The parameter has been introduced for a patch or a SP upgrade where no UI upgrade and/or documentation upgrade was possible. In this case, the parameter will be moved to the UI and the documentation as soon as possible. The parameter in the "additional parameters" table will be deprecated after this move, but still be working. The parameter belongs to the supported adapter functionality and can be used in all, also productive, scenarios.
    Category 2. The parameter has been introduced for testing purposes, proof-of-concept scenarios, as workaround or as pre-released functionality. In this case, the parameter may or may not be moved to the UI and documentation, and the functionality may be changed, replaced or removed. For this parameter category there is no guaranteed support and usage in productive scenarios is not supported.
    When you want to use a parameter documented here, please be aware to which category it belongs!
    Solution
    The following list shows all available parameters of category 1 or 2. Please note:
    Parameter names are always case-sensitive! Parameter values may be case-sensitive, this is documented for each parameter.
    Parameter names and values as documented below must be used always without quotaton marks ("), if not explicitly stated otherwise.
    The default value of a parameter is always chosen that it does not change the standard functionality
    JDBC Receiver Adapter Parameters
    1. Parameter name: "logSQLStatement"
                  Parameter type: boolean
                  Parameter value: true for any string value, false only for empty string
                  Parameter value default: false (empty String)
                  Available with: SP9
                  Category: 2
                  Description:
                  When implementing a scenario with the JDBC receiver adapter, it may be helpful to see which SQL statement is generated by the JDBC adapter from the XI message content for error analysis. Before SP9, this can only be found in the trace of the JDBC adapter if trace level DEBUG is activated. With SP9, the generated SQL statement will be shown in the details page (audit protocol) of the message monitor for each message directly.
                  This should be used only during the test phase and not in productive scenarios.
    Regards,
    Prateek

Maybe you are looking for

  • Creative Cloud desktop App for Mac crashes and does not work

    Installed creative cloud for MAC (running OSX 10.9). App does not run. I see the Creative Cloud icon at top of screen (in menu) for about 0.5 seconds then it disappears. No error messages or warnings. I have tried to uninstall and install the desktop

  • My iPhone won't let me play some of my music

    i have some music downloaded from dat piff  but it wont allow me to play it on my iphone

  • Moving a web gallery

    How can i move a web gallery folder from my old mac to my new one?

  • A sales document type to all sales areas

    Is there a short cut to assign a sales document type to all sales areas (not to assign a sales document with a process of assignment one by one - I need to find out a solution for a single assignment for all sales areas)? Thanks in advance.

  • Lightroom 1.1 high cpu usage

    When using LR 1.0, I had no problems with performance when the Write to XMP option was enabled. With LR 1.1, after a day or two of use, I noticed LR getting slower to refresh the grid view and to develop images. I notice that LR was consuming 40-60%