Is there a way to see the files opened by java threads

-environment-
Java for 64-bit Server VM (build 1.5.0_19 - b02, mixed mode)
Linux 2.6.9 - 78.0.5.ELsmp #1 SMP Wed Sep 24 12:40:24 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Xeon of Intel (r) CPU
--------------------------

Hi all

I would like to know if, in the course of an outOfMemory, there are ways to:
1. do you have a list of thread for the time (basically a thread dump)
2. know the thread which lead to the OOM (even if the thread could well be the 'drop' leading to OOM)
3. get a summary of the brief files on track to open by thread (basically a dump of the heap) use java.
4. get a list of files opened by my thread

Our application is regularly faced with outOfMemory (OOM) and I know that this sometimes load important file, so now I'm testing is the use of hprof (-agentlib:hprof = heap = sites, thread = y, depth = 2). Send "kill-3" on my java process creates a file containing a thread dump + memory usage. But it can't help me for question 2.

Regarding question 4, I tried to establish a correlation between the hprof output + pstack + jstack, pmap, but I'm not the info I'm looking for (pstack, jstack do not show the address of open files)

Finally, if this isn't the right forum for my question, please tell me where to post it.

Thank you

Have you tried - XX: + HeapDumpOnOutOfMemoryError?

I would use a recent version of Java as Java 6 update 25.

You can get a list of files opened by looking at/proc / {pid} /fd/ however you should never be allowed to open as many files as you run out of memory.

If you use a Profiler, you can see that the son made at some point, and where objects are allocated.

I don't think you can associate files with a wire.

Tags: Java

Similar Questions

  • Is there a way to see the ip address of the devices connected via the airport?

    Hello world

    Is there a way to see the ip addresses of the devices connected via the airport? I can see the name of the devices but not what ip are they?

    Thanks in advance.

    Open AirPort Utility

    Hold down the option on your Mac so you double-click on the image of the AirPort router

    Wireless clients are displayed

    Click on the small arrow next to each wireless client to see details about the device and the connection

  • Is there a way to see the user password?

    Hi the gods s/n,.

    I'm a newbie DBA in Oracle and explore in the soul.

    say for example a user has forgotten his or her password and does not reset the password to another and wants the DBA i.e. me to show the password of her on DB. so is there a way to see the password right other that encoded the password?

    sweetritz wrote:

    Does this mean that there is no way to see a password?

    There is no way to see the plain text password

  • Is there a way to make the safari opens a new page every time?

    Hello

    I'm kinda new here and I would like to ask a question. I now use an iPhone as a primary device, instead of Android. But is there a way to make the safari to remove all tabs when you close, and when you open it, it just opened a new page or a blank page? My phone is just laying around sometimes and I let my friends to use. But when I close safari after I order something or when I'm checking my bank account, they can all see when they open up safari...

    All I can think is to close all tabs before close Safari, or use it in private Mode:

    Enable or disable the navigation on your iPhone, iPad or iPod touch - Apple Support

  • Is there a way to see the history of every time a file folder has been seen?

    I think one of my friends has been viewing my pictures on my computer and I want to know if there is a way to see whenever my "My pictures" folder has been seen.  I don't need the last time he was seen.  I want to see a story, as he saw the week last each time.  Is this possible?

    There is no such capability within Windows, but there may be some third-party utilities that could - but I don't know any.

    writing in the new message: * e-mail address is removed from the privacy... *

    I think one of my friends has been viewing my pictures on my computer and I want to know if there is a way to see whenever my "My pictures" folder has been seen. I don't need the last time he was seen. I want to see a story, as he saw the week last each time. Is this possible?

  • Is there a way to see the dimensions of a file?

    I sent a large number of printed material and must check the document dimensions of properties all the time.

    Is it possible to make in the IOS app?

    It would be great to see the size in mm somewhere.

    Hello

    Currently, Acrobat DC IOS doesn't have an option to view the properties of the document (including the dimensions of the document).  Sorry for the inconvenience.

    If you wish, you can submit a feature through the next page request.

    Adobe - feature request/Bug Report Form

    The product management team will take your request into consideration for a future release of Acrobat DC.

    Thank you for your inquiry.

  • Is there a way to see the timestamps of all messages in a conversation?

    I have time stamps for messages under tension, but I seem to only get a timestamp in early conversations. If more than one hour or so passes, then I will get another timestamp. But I would really like to see timestamps for each message. Is there a way to enable this feature or am I the GROUND?

    Thank you

    Matteo

    Put your finger on one of the messages, and then drag to the left. You should see the schedules for all messages.

  • Is there a way to see the groups of pages within the easier muse?

    As you can see below in muse, I have quite a few pages each, and I moved into different groups and stack under each

    I was wondering if there is a way to encode the colored boxes, lets say have as a green, red, blue etc box around those grouped, either that or labels.

    What it is currently (below)

    Screen Shot 2015-06-01 at 10.08.30 am.png

    Change to do something like this (below)

    Screen Shot 2015-06-01 at 10.08.30 am.jpg

    wi1dtree,

    Unfortunately, this feature is not available in Muse currently. You are invited to submit this idea in the present in the community of ideas for features in Adobe Muse so it has a better chance of being seen by the developers of Muse and subsequently implemented. Thank you.

  • Is there a way to see the actual fonts in the drop-down "Select a font" of a message window?

    When you select a font for a message in Thunderbird, the only way I can find to see what looks like the police is really change the font of text that I have already written. To try several fonts randomly would be a pure waste of time.

    I use an old version of MS Word, which has the ability to allow the user to see the actual fonts displayed in the font selection drop-down list.

    Is it possible to configure Thunderbird for this?

    The short answer is no.

  • Is there a way to see the strength of keywords SEO?

    I like site in Muse design, but want a way to track the keywords on my site SEO strength or is wordpress and its plugins such as Yoast is going to be my best option? I want to be sure I'm not more optimize my site.

    Hello

    Google Developer Dashboard.

    Great book is SEO for Dummies (seriously - not you - this is the title) - has just been published for 2016 and the author goes through everything. There is everything you need to know for referencing in there.

    Good luck!

  • Is there a way to keep the images open in Photoshop 5 of 'collage' together?

    I am moving from CS3 to CS5 and I am innundated with "improvements" in CS5. My main problem is that I don't know how to search on something that I don't know the proper name, for example, until I was told that the behaviour of the zoom I want to disable was called "scrubby zoom" THEN I could locate and uncheck the box.

    This time, the behavior I would like to disable the "magnetic" quality that opens the images in a set of tabs, rather than bulk separate images cascading, as was the behavior in CS3. I want to keep the images, I've opened separate and not glued together. I also want to do without the "magnetic quality ' which leads to become 'sets tabs' happens to me to drag a picture window on images or close to each other that I am trying to compare two images on the screen - I do not want to merge or want to 'unite' as is the behavior that I am experiencing now.

    Where are the controls to disable this behavior "sticking together" Windows open image?

    TIA,

    Ken

    You really should spend some time to learn about the new features when you install a new version.

    In Preferences - > disable the Interface 'open images as tabs' and 'enable floating Document window Docking. "

  • Is there a way to make the file on my mac system show all individual records of applications and files in them just as it would be if I was on a pc?

    Is it possible to have records of the different applications and programs on my show mac on a windows pc?   It's very frustrating to see a large list of random files and having to find what I am looking through them.

    See if this tutorial help you, http://macmost.com/using-finder-list-view.html

  • Is there a way to see the previous programs, I downloaded?

    I downloaded a free trial of a program. Once the trial has failed that I deleted it. I found very useful but don't remember the name of it to download again and buy it. Is there a list somewhere where I can find what I downloaded programs? I have nothing in my downloads folder that I have that clean once a week. Any help is appreciated. Thank you!

    Open your web browser and look through its options menus display the list of downloads.

    (144048)

  • Is there a way to see the old chkdsk log on windows 7 Home premium?

    You know, when you run the command CHKDSK's BACK to Windows 7 Home Premium at the end it is a summary of the results.  But the summary is only visible for a few monents (not long enough to actually read) and then the system moves to open a Windows session.  Is it possible to display these results once you are in the WIndows environment?  Some kind of log file that can be referred to?  I'm talking specifically of the complete CHKDSK with both the boxes checked

    "Automatically Fix file System Errors ' and ' will search for and attempt to recover bad sectors...

    Thank you.

    Newspapers can be read in the event viewer

    http://www.SevenForums.com/tutorials/96938-check-disk-chkdsk-read-Event-Viewer-log.html

  • Is there a way to display the files with the formula (srt) those responsible for the display of captions of movies on video application

    Hi Microsoft community

    as I said
    Unfortunately, the video application does not support to display subtitles on films or TV files...
    What is the solution?

    Hey Fahd Apollo.

    Here is a link that describes the similar problem:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_8-pictures/how-to-play-subtitles-and-change-volume-in-Windows/293496e0-FCFC-4AB0-806D-2e6d7bd9a99b

    Good luck!!!

Maybe you are looking for

  • All of a sudden all applications based on slow internet; High fan speed

    All functions based on the web significantly slow down on Sunday, July 24 I mean by 'slow' 20 to 100 seconds just to connect (once connected, the load times are normal, even fast) hit the apps: Safari, Firefox, iTunes, App Store, etc. This happens on

  • problem with yahoo mail on firefox 30.0

    A few days ago a different version (and apparently much earlier) Yahoo mail appeared on my 30.0 FF browser. It is not working properly, but there is no way to change the settings. A link to "Switch to the new Yahoo Mail", but it does not work. Can I

  • Mini mac 2012 drop ethernet connection

    2012 mac Mini i7, 16 GB RAM, 1 TB SSD. OS X 10.10.5. I have owned this since it was released in 2012 and have had no problems with it until a few weeks ago. There was no putting recent update of the OS or other additions s/w or the material that I co

  • What happens to my windows recovery 7 (d) when I do a "clean install" to win 8

    What happens to my windows recovery 7 (D on my HP Pavilion p6610f PC when I perform a "clean" Windows 8 install?)

  • tab

    try to close the tab, but I can't, and I hear music in the background of a gamethat has not been completed correctly