problem about heap-dump-Collection of common programming errors


  • dacongy
    java memory-management heap-dump
    Is there any existing tool that can take Java heap dumps with allocation site annotations? With such a heap dump, we can aggregate runtime objects by their allocation site (roughly speaking, the new statement that creates the object), in addition to aggregation by class type.Suppose this kind of heap dump is available, do you think it is more useful for leak debugging?

  • filippo
    eclipse memory jvm heap-dump
    I’m trying to analyse a ~800mb heap dump, which requires a bigger heap than the standard for my eclipse. however, when I go to the eclipse.ini file and set a -Xmx2g (or -Xmx2048m) I get an error “Failed to create the Java Virtual Machine”.1) yes, I have enough memory. 2) I can change it up to exactly -Xmx976m. 3) I’ve tried the standalone MAT analyser and it works with -Xmx1024m, not a byte more. 4) No, 1gb is not enough to analyse that heap, I get a OOMThis is the eclipse error:This is the MAT

  • dganesh2002
    java heap-memory weblogic11g heap-dump
    We are running some heavy deployments on weblogic setup and it takes around an hour. During that time, we want to take a memory snapshots/heap dumps to see how much headroom we have wrt memory to avoid crash. Is there any optional jvm arg that we can provide while starting the server which will do the job? I checked below link but nothing is fitting the requirement – http://docs.oracle.com/cd/E15289_01/doc.40/e15062/optionxx.htm

  • hadi
    solr solrj heap-dump
    I write a simple program with solrj that index files but after a minute passed it crashed and the java.lang.OutOfmemoryError : java heap space appears I use Eclipse and my memory storage is about 2GB and i set the -Xms1024M-Xmx2048M for both my VM arg of tomcat and my application in Debug Configuration and uncomment the maxBufferedDocs in solrconfig and set it to 100 then run again the application but it crash soon when it reaches the files greater than 500MB is there any config to index large

  • chillitom
    c# out-of-memory heap-dump
    Back in the Java world I was able to specify that the JVM should create a heap dump file on the first OutOfMemoryError. Is there anything equivalent in C#? A heap dump would be ideal but I’d settle for a histogram. If there’s no way to do this automatically is there a way to hook this exception and then walk the heap manually?

  • Aniket Thakur
    java jvm-crash heap-dump
    I want to collect heap dump on JVM crashSo i wrote a simple codepublic class Test { private String name;public Test(String name) {this.name = name; }public void execute() {Map<String,String> randomData = new HashMap<String,String>();for(int i=0;i<1000000000;i++) {randomData.put(“Key:” + i,”Value:” + i);} }public void addData() { }public static void main(String args[]) {String myName = “Aniket”;Test tStart = new Test(myName);tStart.execute(); } }and I am running it as follows[anike

  • Aniket Thakur
    java jvm-crash heap-dump
    When JVM crashes, Heap dump file(hs_err_pidXXXX.log) is created in the working directory. I want to know who creates this file. JVM crashed means it has terminated abnormally. So it will definitely not create this file. So how is this file created?Also can we control the information displayed in this file. If I want to have thread dump and heap dump both together in a single file (hs_err_pidXXXX.log) is it possible? If yes how? Basically my priority is to identify the function(or stacktrace) th

  • Michael Dautermann

Web site is in building