Solaris: memory not freed after JVM exits - why?

Hi all,
A client of ours has a Java application that appears to leak memory. Yawn, shrug.
However, when the application and the JVM exit, some memory still remains missing, as evidenced by vmstat.
On average, per run of the application 67 MB of memory and 95 MB of swap space 'disappears', eventually rendering the machine unusable. The only way to get the memory back is to reboot the machine.
This baffles me; I'd expect the JVM to return all memory to the free list when it exits.
System: SunOS 5.10 Generic_137111-01 sun4u sparc SUNW,Sun-Fire-15000, 32 GB physical memory.
java version "1.5.0_05"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_05-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_05-b05, mixed mode)
Java is invoked with:
java -server -d64 -Xmx20G -Xms20G ...
Has anyone seen this phenomenon before? If so, do you know what causes it? And better yet, is there a known solution for it?
Thanks!
Mark

The old JVM is not my choice. My client has several Java applications running and currently doesn't have the manpower to do the retesting required when employing a newer JVM.
I have asked the supplier of the offending program whether it will run with Java 6. They are currently looking into it.
Mark

Similar Messages

  • Resources freed on JVM Exit?

    When I exit the JVM due to a RunTimeException thrown part way thru
    constructing an object that has acquired some resources (like inputStreams for instance), do the resources get closed/cleaned up by the JVM during it's exit or have I left these resources tied up permanently?
    I'm very clear that I must cleanup the resources myself if dealing with checked Exceptions that I don't translate into a JVM exit.
    Thanks in advance for any help.

    Thanks for the replys. I'm getting out of this that
    a RunTimeException
    caused exit of the JVM does not gaurantee cleanup of
    stream resources
    in particular. Correct?Depends what you mean by cleanup. All the resources obtained from the OS will be returned. There's no guarantee any streams will be flushed though.
    wrt finally, it is my understanding this execution
    gaurantee applies only to checked exceptions and not
    to RTEs? Is this correct?You could test your assumption very easily and see for yourself, but no, that's not correct.
    Finally will always be executed unless the thread terminates--e.g. by System.exit, an untrapped signal, etc. Break, continue, throw, return in try or catch all transfer control to finally.

  • Mass memory not show after install kasper 9.0 in n...

    plz help me

    I have checked weblogic download link.
    Currently webloigc is only available only for below mentioned platforms:-
    1. Windows (32 bit jvm)
    2. Linux (32 bit jvm)
    3. sun solaris (only SPARC) (32 bit JVM)
    There is no generic installer available for weblogic 9.2
    Thus what I want is weblogic 9.2 setup for x86 machine.
    I have tried to run weblogic 9.2 setup for linux on sun solaris x86.
    But it did not run, it also gave error message that some package is missing in /lib/.. folder.....

  • Internal memory not released after moved to SD card

    After installed from market, it was first it on the internal memory. I moved it to SD card and noticed the Manage applications page show the size changed to 128KB. But when I go to Settings -> Storage, the available space has not changed. It is still 12 - 13MB less than what is was before install Firefox Mobile.
    Has any one else got the same problem?

    A restart solved this problem. After restart the available space amount is correct.

  • Podcasts badge still not working after latest update WHY??

    I was hoping the latest update would have fixed the problem with the badges in podcasts! But no still the same!
    It's just crazy to me they used to work before i think it was version 5.2, you just opened the podcast apps and the badges told you how many unplayed episodes you had perfect!
    Now you have to open each podcast and then come out  for the badge to work WHY??
    I have tried to go back to version 5.1 but no Apple will not let me so stuck with this inferior version!

    Take the device to Apple for evaluation, most likely the hardware has failed.

  • Deletion indicator not working after user exit error

    Hi Gurus,
    I had one requirement in Purchase Requisition. If the number of items increase by 36 , there should be an error saying that maximum items reached but once that item is deleted that error should disappear.
    I have written the coding in an Exit: EXIT_SAPLMEREQ_010.
    And the coding is :
    IF gs_eban-bsart = gcz902.
    LOOP AT gt_eban INTO gs_eban
    where loekz is initial.
    LOOP AT gt_ebkn INTO gwa_ebkn WHERE banfn = gs_eban-banfn
    and bnfpo IN r_bnfpo.
    recherche division- ordre interne
    LOOP AT ot_div into gwa_div WHERE ot = gwa_ebkn-aufnr AND div = gwa_ebkn-bnfpo.
    ENDLOOP.
    IF sy-subrc NE 0.
    gwa_div-ot = gwa_ebkn-aufnr.
    gwa_div-div = gwa_ebkn-bnfpo.
    APPEND gwa_div TO ot_div.
    ENDIF.
    ENDLOOP.
    ENDLOOP.
    DESCRIBE TABLE ot_div LINES n.
    IF n >= 37.
    case sy-ucomm.
    WHEN 'MESAVE'.
    MESSAGE e111(zpfr) with n.
    exit.
    ENDCASE.
    ENDIF.
    ENDIF.
    So now the exit is working fine......but when i go to delete that extra item it is not getting deleted , so while saving the information message comes that no data changed.
    So ho wto delete that extra item.
    Do anyone have reply....
    thanks in advance.

    Hello.
    If you insert 37 lines you get your error message. But if you delete 1 row, you get error message again, right?
    I think that's because you are not refreshing internal table ot_div. Shouldn't you refresh it before LOOP AT gt_eban INTO gs_eban?
    Regards.
    Valter Oliveira.

  • HT5858 Video not working after ios7 download,why?

    So after the new Os7.02 upgrade, now the video button is unresponsive. Pictures are ok

    Good grief!
    Such a simple fix. Why make it so hard, Apple :-) ?
    Fortunately, I discovered this before getting my hammer out!
    Best wishes.

  • Energy Saver Display Sleep not working after upgrade. Why???

    I upgraded to Mavericks a few days ago and since then, the screen will not blank out after the set time on the Display Sleep bar.  This happens whether on battery or power.  I've run Verify/Repair Disk and Permissions, and still not go.  Any suggestions on what else I might do or check to get this going again?  Thanks!

    What are your screensaver settings? What are your energy saver settings? Will the screen at least go dark or nothing at all? What programs are running? Some programs prevent any kind of sleep while running. I once had an issue on my old iBook when sleep and screensaver where set to 5 min or less and it prevented sleep at all.
    There are 2 things that can help if the source is not 3rd party related: first reset PRAM, and if that didn't do anything, reset your SMC (system management controller), but read the linked Apple Instructions, it is recommended to be only used if everything else failed.

  • ITunes not working after download.  Why?

    I just won this iPod at work, it's a 30 gb with color screen. I've tried following the instructions and downloading the software, and that all seems to work fine, but then when I try to execute it, I get a message saying "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience." I've tried some of the fixes I found here, but nothing seems to work. Also, when I plug in m iPod, it just states "Do not disconnect". I had it connected all day, and that never changed. Is apple just having problem with their new version of software? Or is it something else? I have a fairly new lap top (Dell 9300 with Windows XP media edition). Thanks!

    You don't say what you tried, so here is some general inframtion about troubleshooting.
    Try playing tracks in Quicktime. iTunes requires Quicktime and won't work if Quicktime doesn’t.
    If Quicktime doesn't work, try uninstalling it using the following method, but just do the Quicktime bits
    http://docs.info.apple.com/article.html?artnum=93698
    Then download and install the sand alone Quicktime, option 2 here:
    http://www.apple.com/quicktime/download/win.html
    If Quicktime is OK try working through This article on launch problems:
    http://docs.info.apple.com/article.html?artnum=302856

  • Firefox says i am not updated after updating twice. why?

    nothing to add

    i suggest you to update firefox from scratched,
    Download firefox from firefox.com
    remove firefox completely from control panel
    install firefox from fresh installer
    check if problem is still persist or not

  • Addon program not terminate after exit..

    I write an addon program and don't
    know why it does not terminate after
    B1 exits.
    The B1 keeps to generate a new instance
    of addon program.
    Any clue.
    Regards,
    Kenneth Tse

    Did you manage the AppEvent type events?
    It is developers responsability to terminate the AddOn when this happens. We usually do:
    Private Sub aplicacion_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles aplicacion.AppEvent
            Select Case EventType
                Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged
                    'Manage language change
                Case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged
                    Application.Exit()
                Case SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition
                    Application.Exit()
                Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                    Application.Exit()
            End Select
        End Sub
    PD: True, don´t exit in the language change event.
    Hope helps,
    Ibai Peñ

  • Why GPS symbols cannot exit after i exit ovi maps ...

    i have one something problem for my hp nokia n86,
    why gps symbols cannot exit  after i close my ovi map. after i exit ovi  maps the gps symbols still display, please help me for solved this problem , i used firmware 30.009, latest ovi maps v3.04

    Okay then, the best solution maybe to remove Ovi Maps from your phone, backup all your contacts, messages etc. (not settings)  to memory card or PC, remove the memory card and then try the resets in the order below, then re-installing Ovi Maps. Please note, if you don't back up your phone's data before resetting, you will lose everything!
    Factory settings reset. In standby, dial *#7780# and the phone's security code (the nokia's default security code is 12345). This reset restores phone's original settings.
    Soft reset. In standby dial *#7370# and the phone's security code. Soft reset deletes ALL your phone's data!
    Hard reset (the three key code/reset). Turn off the phone. Press and hold three keys together, the green/talk key, the * key and the number '3'.Then, turn on the phone and don't let the three keys before you see the nokia hands logo/nokia boot up screen.  Hard reset also deletes ALL data on your phone!
    Good luck!

  • Could not retrieve the in-memory service URL after starting the in-memory.

    A local jvm process is discovered but mission control will not connect.
    Both jvm process and mission control are on the same host.
    Any suggestion?
    Thanks.
    This is the mission control help version:
    Oracle® JRockit Mission Control 3.1.0 (R27.6.3-40_o, 112101)
    I'm running mission control and a jboss web server on jrockit:
    $ java -version
    java version "1.6.0_11"
    Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
    BEA JRockit(R) (build R27.6.3-40_o-112056-1.6.0_11-20090318-2103-linux-x86_64, compiled mode)
    On linux:
    $ uname -a
    Linux isidore 2.6.27-11-generic #1 SMP Wed Apr 1 20:53:41 UTC 2009 x86_64 GNU/Linux
    This is the message that appears in the controlling tty window:
    Apr 24, 2009 9:55:43 PM com.jrockit.mc.browser.attach.LocalConnectionDescriptor tryJRCMDStyleStartingOfTheAgent
    SEVERE: Could not retrieve the in-memory service URL after starting the in-memory agent!
    Apr 24, 2009 9:55:43 PM com.jrockit.mc.browser.attach.LocalConnectionDescriptor tryJRCMDStyleStartingOfTheAgent
    Here is the exception in the dialog details:
    Could not open Management Console for [1.6] JBoss (5,474).
    java.lang.NullPointerException: null
    java.lang.NullPointerException
         at com.jrockit.mc.rjmx.ConnectionDescriptorToolkit.getHostName(ConnectionDescriptorToolkit.java:152)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.setupServer(RJMXConnection.java:521)
         at com.jrockit.mc.rjmx.internal.RJMXConnection.connect(RJMXConnection.java:144)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.establishConnection(RJMXConnectorModel.java:111)
         at com.jrockit.mc.rjmx.internal.RJMXConnectorModel.connect(RJMXConnectorModel.java:154)
         at com.jrockit.mc.rjmx.ConnectionManager.innerConnect(ConnectionManager.java:95)
         at com.jrockit.mc.rjmx.ConnectionManager.connect(ConnectionManager.java:61)
         at com.jrockit.mc.console.ui.actions.StartConsole$1.preConnect(StartConsole.java:38)
         at com.jrockit.mc.browser.utils.PreConnectJob.run(PreConnectJob.java:74)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    After I posed the above, I saw that the url on the exception is munged.
    I didn't stumble over how to manually override that url.
    Instead, I added remote jmx capability to the process and added a connector. That is my work around.
    Thanks,
    John

  • My phone says SIM not valid after ios 5 update, Why and how do I fix it?

    Why does my iPhone 4 say SIM not valid after I updated to ios 5? Also, is there anything I can do to fix it?

    Sounds like your phone was software unlocked, or hacked/jailbroken, to work with any carrier. Updating the phone restored the original carrier lock. All you can do now is contact the carrier it is locked to and see if they have an unlocking policy.
    Good luck.

  • Why does iTunes freeze up for minutes at a time when modifying INFO (CMD-i) ?  My files are not corrupted after it is done like many other threads i have readed.

    Why does iTunes freeze up for minutes at a time when modifying INFO (CMD-i) ?  My files are not corrupted after it is done like many other threads i have readed.  Sometimes it's changing the title of a movie or editing the season and episode number of a TV show ect.....

    Yup same here
    I am running the latest iTunes, the latest updates to the OS and on an iMac 3.4GHz Quad core i7 with 8GB of RAM and the music stored on local HDD.
    Still locks up iTunes for between 2 minutes up to 20 minutes.
    Really annoying.
    If you find a fix please, please let me know, I have just been throwing hardware at it with no joy at all

Maybe you are looking for

  • Program Error from running the *,exe file but works fine running with CVI

    When starting CVI created program on Win 2000, I get message "Program Error". I have created a program using NI/CVI version 5.5. I am running windows 2000, I get message  "Program Error" *.exe has generated errors and will be closed by Windows. You w

  • How can I transfer outlook data from Ipod to new hard drive?

    My hard drive had to be replaced last week. Although my music was backed up by Norton 360, my Outlook contacts and calendar were not backed up. How can I transfer my data from my Ipod to my new hard drive? I am running Windowa XP, if that matters. Wi

  • Mp3 driver deleted by mistake

    I have mistakenly deleted the mp3 driver from my HP Mini running Windows XP so Media Player can no longer play mp3 format.  Where can I find drivers to download?  Thanks This question was solved. View Solution.

  • Export No Percentage Shown

    I'm trying to export from FCP Studio 1 to a FLV file. While it typically works perfectly recently I've noticed that when the 'export window' pops up the percentage complete never gets past 0. Now, the program isn't locked up and if I 'get info' of th

  • My i pad is disabled...help me..

    my i pad is disabled...help me /....