What is actually happening with getMoreTLAMemory() and native_blocked

I have an application that seems to periodically lock up and become unresponsive, which we end up killing and restarting. A thread-dump consistently reveals the following scenario:
1) There are many threads (18 or so) with a thread-dump like:
"a0-141" prio=5 id=0x7000 pid=5206 active, native_blocked
at jrockit/vm/MemSystem.getMoreTLAMemory(Native Method)@0xb6783d10
2) One of these threads is holding a lock that many (many!) other threads is trying to acquire. This lock is released quickly in the normal running of things, but obviously the lock-holder is blocked in some sort of memory-allocation activity.
We are currently running jrockit-j2sdk1.4.2_08, with -Xmx512m -Xms192m. We intend to run the app under jrockit-R26.0.0-jdk1.5.0_04 on the next restart.
Any hints on the nature of this getMoreTLAMemory() call, and its native_blocked state? Is the JVM in some sort of GC activity that happens to be taking a long time?
=Matt

Hi,
It seems that your system is Throwing a lot of OutOfMemoryError, which you
are catching in your application. If you catch a such exception, your
application should never ignore it (catch it silently), because you can not
recover from a such exception.So you should terminate your application with
a proper message.
If you know that 512m is enough for your application, then it means that you
have memory leak in your app, and for that I suggest you use Memleak to
track it down, otherwise I suggest you increase the heap to accomodate your
application needs.
Regards,
Tiberiu Covaci
JRockit Team
<Biswo jit> wrote in message news:[email protected]...
Hi
We are also getting a similar sort of problem "Throwing OutOfMemory:
nativeGetNewTLA". Currently we are running
jrockit-R27.1.0-jre1.5.0_08-linux-ia32 with -Xmx512m -Xms512m.
We are getting this log after we used -Xverbose:memory
[INFO ][memory ] 1551.301-1551.586: GC 524288K->524288K (524288K), 285.181
ms
[INFO ][memory ] 1551.601-1552.419: GC 524288K->524288K (524288K), 818.366
ms
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] 1552.477-1552.716: GC 524288K->524288K (524288K), 239.779
ms
[INFO ][memory ] 1552.723-1552.958: GC 524288K->524288K (524288K), 235.828
ms
[INFO ][memory ] 1553.016-1553.789: GC 524288K->479738K (524288K), 772.022
ms
[INFO ][memory ] 1553.849-1554.075: GC 524288K->524288K (524288K), 226.385
ms
[INFO ][memory ] 1554.081-1554.309: GC 524288K->524288K (524288K), 228.326
ms
[INFO ][memory ] 1554.377-1555.323: GC 524288K->353358K (524288K), 946.352
ms
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] 1555.381-1555.611: GC 524288K->524288K (524288K), 230.352
ms
[INFO ][memory ] 1555.618-1555.937: GC 524288K->524288K (524288K), 319.087
ms
[INFO ][memory ] 1555.944-1556.773: GC 524288K->354232K (524288K), 828.970
ms
[INFO ][memory ] 1556.833-1557.167: GC 524288K->524288K (524288K), 334.113
ms
[INFO ][memory ] 1557.173-1557.408: GC 524288K->524288K (524288K), 234.490
ms
[INFO ][memory ] 1557.415-1558.300: GC 524288K->524288K (524288K), 884.986
ms
[INFO ][memory ] 1558.362-1558.598: GC 524288K->524288K (524288K), 235.418
ms
[INFO ][memory ] 1558.657-1558.957: GC 524288K->524288K (524288K), 299.905
ms
[INFO ][memory ] 1559.013-1559.908: GC 524288K->524288K (524288K), 895.066
ms
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] 1559.970-1560.222: GC 524288K->524288K (524288K), 252.018
ms
[INFO ][memory ] 1560.228-1560.462: GC 524288K->524288K (524288K), 234.402
ms
[INFO ][memory ] 1560.470-1561.293: GC 524288K->524288K (524288K), 822.836
ms
[INFO ][memory ] 1561.302-1561.532: GC 524288K->524288K (524288K), 230.341
ms
[INFO ][memory ] 1561.538-1561.772: GC 524288K->524288K (524288K), 233.728
ms
[INFO ][memory ] 1561.785-1562.630: GC 524288K->461707K (524288K), 844.261
ms
[INFO ][memory ] 1562.689-1562.999: GC 524288K->524288K (524288K), 309.380
ms
[INFO ][memory ] 1563.007-1563.370: GC 524288K->524288K (524288K), 362.903
ms
[INFO ][memory ] 1563.377-1564.171: GC 524288K->524288K (524288K), 793.895
ms
[INFO ][memory ] Throwing OutOfMemory: nativeGetNewTLA
[INFO ][memory ] 1564.189-1564.425: GC 524288K->524288K (524288K), 236.357
ms
Any help will be highly appreciated.

Similar Messages

  • I have 100  songs on i pod touch. But when i connect it to itunes it only showed 44 songs. What is actually happening and how to fix the problem so that all music in my iphone can be seen in my itunes

    I have 100  songs on i pod touch. But when i connect it to itunes it only showed 44 songs. What is actually happening and how to fix the problem so that all music in my iphone can be seen in my itune

    If they are iTunes purchased music then go to Settings>iTunes and App Store and turn off Show All.
    Next
    Try:
    - Reset the iOS device. Nothing will be lost      
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Unsync/delete all music and resync
    To delete all music go to Settings>General>Usage>Storage>Music>Tap edit in upper right and then tap the minus sign by All Music
    - Reset all settings                            
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:                                               
    iOS: Back up and restore your iOS device with iCloud or iTunes
    - Restore to factory settings/new iOS device.                       

  • The battery for my Macbook Pro 13 "has only 121 cycles and is not charging anymore, my Mac is telling me that it is necessary to exchange it. You have any tips for me to find out what might be happening with my battery?

    The battery for my Macbook Pro 13 "has only 121 cycles and is not charging anymore, my Mac is telling me that it is necessary to exchange it. You have any tips for me to find out what might be happening with my battery?

    Guys, i am actually trying using a solution provided by the article shared by dominic23,
    It says "Another option is to get an ionizer to help the atmosphere in the workplace be more conductive and pull charges away from contact surfaces, including yourself."
    So in my home, we have such device that could clean the air using ion, and i am using it in my room...
    Result: BANG!!! The electric shock on my macbook has gone!! I don't really care about physics but somehow it works! You guys should give it a try.
    Thanks again dominic23

  • What may be happening with my macbook pro 17''?

    what may be happening with my macbook pro 17''? I made a few months ago upgtrade 4GB of memory to 16gb, everything was going well until the graphics began to dance and fails, until it gave bluescreen ... never seen it in a mac. Serial Number C0*******F92
    Graphics card Intel HD Graphics 3000 512 MB​​? Was never 512mb graphic, do not know what may be going on .... please help.
    <Personal Information Edited by Host>

    The graphics memory increases to a max of 512 when you upgrade the RAM. The RAM is actually the most likely culprit, since it's been recently changed. Put the original RAM back in and see if your problem goes away.

  • Hi - for any photo, info in mountain lion shows a different file size than Photoshop does. I've tested with CS3 and CS6 and get the same problem. Doesn't happen with CS3 and OSX10.4 or any previous versions of Photoshop and OSX. Anyone know why?

    Hi - for any photo, info in mountain lion shows a different file size than Photoshop does. I've tested with both CS3 and CS6 on 10.8.2 and get the same problem. This doesn't happen with CS3 and OSX10.4 or any previous versions of Photoshop and OSX. Anyone know why?

    this one is actually a really rare symptom of a flaky connection to the ipod on a Windows PC. there's more going on in terms of hardware on nanos and 5th gens than in the earlier models ... so if the connection is flaky to precisely the right/wrong degree, itunes will see the ipod, but misidentify it as an earlier version of ipod.
    tracking down the cause of the flakiness can be tricky ... as you already know ...
    just checking. have you tried connecting with a different (known-good) USB cable? does that seem to have any impact on the rate of occurence of the problem?

  • What is actually happenning when we are importing a class of some other pac

    Sirs,
    I have a doubt which is very basic to java,
    I want to import a class say "HashMap" to my class.
    If i put import "java.util.HashMap" or "import java.util.*;"
    Which will be better ?
    If i put "import java.util.*; " will it affect the performance?
    What is actually happenning when we are importing a class of some other package to our class
    Your help solicited,
    Sudheesh K S

    Many of your questions of this nature can be quickly answered by a search of prior posts to the forums, like this:
    http://forum.java.sun.com/thread.jspa?forumID=54&threadID=631979
    And why do you tend to post boldened text? It's harder to read.

  • Why is it that when I am trying to install an adobe product, I get 33% of the way through and then it gives me an error "unable to load metafile"??  It happened with Reader and now with Flashplayer.  With the Reader, I was able to find a different install

    Why is it that when I am trying to install an adobe product, I get 33% of the way through and then it gives me an error "unable to load metafile"??  It happened with Reader and now with Flash player.  With the Reader, I was able to find a different installation link using the troubleshooting guide.  I cannot find the same with flash player.  Please tell me how to install Flash player because there is a website that I cannot even view without it.  BTW That is annoying that I cannot even see the website without flash player
    my system is XP

    Use these installers:
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Flash Player for Mac OS X
    For Adobe Reader go to http://get.adobe.com/reader/enterprise/

  • HT2513 my iCal calendar that I created with the color green keeps changing to purple.  no matter how many times I change it to green, it turns it back to purple.  Of course this only happens with iCloud and not "from my Mac".  Any ideas?

    my iCal calendar that I created with the color green keeps changing to purple.  no matter how many times I change it to green, it turns it back to purple.  Of course this only happens with iCloud and not "from my Mac".  Any ideas on how to correct this?  This seems like a trivial error, but it's super annoying.

    I called Apple and they said that they know about this problem.  It's a problem with iCloud which their Engineers know about.  (there was a new iCloud release, hence...)  No ETA for a fix yet.  I asked that this be escalated so Engineering doesn't put it at the bottom of their fix list.  I talked to a Senior Advisor and mentioned to them to have QA check their regression tests as this has happened before to me (the problem just didn't take this long to resolve).  I like to use green too for important stuff, so I've resorted to creating a new calendar using the normal calendar green for events going forward.  They could have picked another color besides green to have this problem with and I wouldn't have been so upset.  ;-)

  • What is dead locks with oracle and wht is race condition wrt oracle

    what is dead locks with oracle and wht is race condition wrt oracle

    > And do you know what a race condition is all about?
    It is a term used to indicate several processes attempting to use the same resource that is not capable of servicing all these at the same time. This could be due to the resource not being thread safe or implemented as a serialised resource.
    It is often easy to look up definitions on Google. In the Google search field, type "define:race condition".
    The following [url http://www.google.co.za/search?hl=en&q=define%3Arace+condition&btnG=Google+Search&meta=]web definitions page is displayed.

  • Firefox freezes when trying to upload or download a file. (Antivirus all disabled doesn't help). IE works fine. Happened with v3 and v4. Any clues?

    Firefox locks when trying to upload or download any file, size irrelevant.
    I've disabled firewall and all antivirus apps to no effect.
    This happens with v3 and v4.
    IE works fine.

    '''Addendum:''' The freeze is also happening at random even without opening Firefox, it has a chance of happening when I click something. My computer has frozen when I: 1- clicked the "reveal desktop" button to minimize all windows; 2- Attempted to close a tab in Chrome; 3- Clicked "play" in a Youtube video that had been loaded and waiting for some time). It will also almost always freeze when I leave it idle for more than about 10 minutes.
    But it will '''guaranteedly''' freeze when trying to open FF, which doesn't happen with any other program.
    I think my computer is breaking down. :(

  • I using mozilla firefox so long times but it just get problem today because i can't type in english words but i can type in thai and some buttons is not english but it's other alphbets that i can't read and it's happening with yahoo and friendster and not

    I using mozilla firefox so long times but it just get problem today because i can't type in english words but i can type in thai and some buttons is not english but it's other alphbets that i can't read and it's happening with yahoo and friendster and not sure for other website
    == today ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)

    Same problem with the mouse, but with the mouse I can leave the cursor in place in the text field and move to the keyboard to type. As long as the cursor is in the field it stays editable.
    The problem with the pen is it's in my hand all of the time. I just flip it up under my thumb against my palm to type. So, as soon as I move the pen, the field goes away and I can't type in it. Hoping this is making sense.
    My tablet does have the touch function too, and I just found out I can use my finger to tap in the text field, then type. I guess that'll be my solution since I prefer not to leave a mouse set up on this iMac.
    I'm thinking now that this is just a problem with the pen itself, and nothing to do with iPhoto. So glad to have this figured out! I really like iPhoto '11! So much easier for me, a simple P&S gal, than Aperture 3. I use iPhoto Library Manager too and love it!
    Thanks so much! Debbie

  • I can't see the bar which contains play, stop button on Youtube. Help me!!! Just happen with firefox and chrome after install DivX and I had removed DivX.

    I had installed DivX and it includes DivX Web player but, when i remove it, the problem happend. When I click on a video, the bar which contains play, stop... buttons is there. But when the video nearly play, it disapears. The problem just happen with Firefox and Chrome, but it doesn't mean with IE. Help me plz, I hate using IE just love FF but the problem prevent me from watching video on youtbe which is very terrible with me.

    This is my problem, see the picture.

  • 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.

  • My ipod comes up with a green screen when i turn it on. I did once eject it safely like a flash drive instead of through itunes. What exactly is wrong with it and can it be fixed?

    My ipod comes up with a green screen when i turn it on. I did once eject it safely like a flash drive instead of through itunes. What exactly is wrong with it and can it be fixed?

    What exactly is wrong with it and can it be fixed?
    If you have AppleCare and/or iPod Nano is still under warranty, give them a call.  If not, take the computer to your local Apple Store or AASP.  The staff will tell you what is wrong w/it and let you know if it can be fixed after it is examined.

  • What is the deal with MP4s and Itunes?

    Why does quicktime and Itunes always put "This document could not be opened"/"Quicktime does not support this file type"/"An invalid public movie atom was found in this file". Only about 2 movies have work in Itunes, and one became corrupted and kept making itunes close whenever I played it. WHAT DOES IT WANT? It says it wants MP4/M4V and I've tried both.

    What movies? From what source?  While mp4 is more restrictive than some containers it can still hold many variants of audio and video.  iTunes is limited in codec support.
    iTunes: Frequently asked questions about viewing and syncing videos - http://support.apple.com/kb/HT2729 - including file formats supported by iTunes and on mobile devices, DVDs, etc.
    What video content works with iTunes and mobile devices?
    iTunes:
    Video content purchased from the iTunes Store.
    QuickTime and MPEG-4 movie files that end in ".mov", ".m4v", or ".mp4" and are playable in QuickTime Player.
    Video podcasts.
    iTunes Digital Copies.
    iTunes Store Movie Rentals (Requires iTunes 9 or later).

Maybe you are looking for