Does the JVM ever return memory back to the OS?

Hello Gurus,
I have an OC4J application running on Solaris that have some memory spikes (the jvm is inovked with -xms256m -xmx1024m).
I've noted that once the heap expands, even if it shrinks back, the jvm process keeps on using the bigger memory footprint (in other words, maybe the jvm indeed manages a smaller heap size but if I execute the "top" command from a terminal - I never see that memory actually being freed).
For the math people: my jvm memory consumption is a non-decreasing monotonic function.
Is that a bug or the designed behavior?
Thanks in advance!
Amnon Sadeh.

The physical memory and swap reservation is indeed returned
to the OS if it's not in use. The virtual space reservation, however,
stays.. The JVM is however circumspect/inertial is reacting to
temporary fluctuations in java heap footprint, and employs
a hysteretic low-pass-filter to protect against what might be
small, high frequency fluctuations in the program's heap
footprint.
Hello Gurus,
I have an OC4J application running on Solaris that
have some memory spikes (the jvm is inovked with
-xms256m -xmx1024m).
I've noted that once the heap expands, even if it
shrinks back, the jvm process keeps on using the
bigger memory footprint (in other words, maybe the
jvm indeed manages a smaller heap size but if I
execute the "top" command from a terminal - I never
see that memory actually being freed).
For the math people: my jvm memory consumption is a
non-decreasing monotonic function.
Is that a bug or the designed behavior?
Thanks in advance!
Amnon Sadeh.

Similar Messages

  • I open a new webpage in a new tab. I then go to a link and the back button does not allow me to go back to the original webpage. Any suggestions?

    I open a new webpage in a new tab. I then go to a link and the back button does not allow me to go back to the original webpage. Any suggestions?

    I don't think you understood the question. I am having the exact same issue. I open a link in a new tab or window, for example: https://addons.mozilla.org/firefox/addon/backforedrop/
    When the new tab opens, I click on "reviews" to open the link: https://addons.mozilla.org/en-US/firefox/addon/backforedrop/#reviews in the existing tab because I want to see the reviews for this feature. After I read the reviews, I want to go back to the main link, but the back button on my browser is greyed out, as though I was never even on the previous page. So my options are 1) Open every link I ever click on in a new tab or window, or 2) Hope the website is user friendly and attempt to navigate back to the previous page using links inserted on the current page.
    You never realize how frustrating not having back button is until it happens.

  • I had to manually download the new version of itunes.. via tools, it gave me 4 items to download and i did not download all 4 compenants.  Does anyone know how to get back to the pop up that contains tools so i can redownlaod all of them.

    I lost my old iphone and have a new 5s.. i need to sync to itunes.  i had to donwload manually via tools but i didnt download all four files.  now when i plug my phone into itunes it says there is an error bc i didnt download all the files.  so when i go into itunes now and check for updates it says its up to date.  the problem is with the phone support file i didnt download. 
    Does anyone know how to get back to the pop up that has the music player update and itunes update bc this is the only place i have seen "tools" to be able to manually update all four files....
    ***IF i completely uninstall itunes and reinstall will it still have all my songs, photos, apps etc... bc i need to sync my new phone to get all my stuff back

    this is a follow up from the profane post earlier....
    i have done this twice in two other posts..
    here is my problem.. i started off trying to update itunes, it failed twice and said i needed to install manually via tools.
    the only place to get to tools is the pop up box that appears when you click check for updates.. if there is an available update then the pop up shows up with the quick time and itunes files to download. so i finally figured that out. i clicked on tools and manual update, four files were saved to a file. Apple mobile device support, another one similar, itunes, and another one i cant remember. I only downloaded the itunes file seeing as though thats all i needed to accomplish in the first place.
    so then i restarted my computer bc you need to reboot and then reopen itunes for update to take effect. once i have itunes back open i plugged in my new 5s which i am trying to sync to my computer to get all my stuff back bc i lost my previous phone over the weekend.. once i plugged the phone in an error stating i needed to unistall the apple mobile device support and itunes and then reinstall. well i dont know where those files were originally stored on my computer AND since my itunes was updated, just not the other 3 associated files, when i click check for updates it says its up to date and then pop up containing the quick time and itunes does not pop up thus i cant get back to the tools tab to manually save the 4 files again.
    so i was just going to uninstall itunes all together and then i thought well what happens if it erases all my photos apps songs etc... which would defeat the whole purpose in the first place of me trying to sync my new phone to get all my stuff back.
    so i literally have no idea what to do at this point.. if you have read this you are probably just as confused as me...

  • I have had my iMac for 55 days now and twice I had to power off/on and then It does not power up correctly.  I verified my disk and found errors that could not be repaired.  I erased the drive and restored system back to the previous day.

    I have had my iMac for 55 days now and twice I had to power off/on and then It does not power up correctly.  I verified my disk and found errors that could not be repaired (errors were associated with boot drive)  I erased the drive and restored system back to the previous day.  Has anyone else experienced this problem?

    Since it's a new machine, contact Apple's Support and let them deal with it. Allen's already recommended an Apple repair station visit. Do note that if you have AppleCare's protection plan and you're within 50 miles (80 KM) of an Apple repair station, you might be eligible for an onsite repair since yours is a desktop machine (depends on where you're located).  BTW, the AppleCare Protection Plan's the best warranty policy available for desktop machines. Get it if you don't have it before contacting Apple.
    27" i7 iMac (Mid 2011) refurb, OS X Mavericks (10.9.4), ML & SL, G4 450 MP w/Leopard, 9.2.2

  • Just found Ipad Nano in Big Island Hawaii. Trying to find the owner to return it back. Tell me what is the color, how many songs and your name(its personalize with a name).

    Just found Ipad Nano in Big Island Hawaii. Trying to find the owner to return it back. Tell me what is the color, how many songs and your name(its personalize with a name).

    I only wish that when I called Apple, they would match the serial number with the owner and give me the contact
    Hopefully you left Apple your contact info (name phone #, email address).
    Apple would simply pass your contact to the last registered owner. It would be up to the owner to contact you. As Dave mentioned, Apple will not give you any info (except may to tell you it was or was not registered, but not to who). Turn it on once in a while and maybe they have activated FindMyiPad and a message will pop up (don't need to be logged onto the iPad to a message).

  • Does running scanpst ever fully correct or fix the pst? Ran it 416 times so far trying to get it to fully clean the file.

    Does running scanpst ever fully correct or fix the pst? Ran it 416 times so far trying to get it to fully clean the file.
    I've ran this scanpst within Win7 outlook 2010 for 3 days. The scanpst began taking about 4 minutes to finish and still showed that there were errors in the file. After 416 runs through the scanpst, the file is taking about 15 to 30 seconds. It's greatly
    improved but this is ridiculous. Why isn't there something from tech support to fully fix the file without starting a new profile and starting over? There's just too much info needed to be saved. If it's simply transferred over to the new profile then it works
    for a short time then the corrupt files wreck the new profile. I've really searched for this answer and gotten no where even on youtube. Some of the issues are mostly hanging outbox or rejected login 0x80042109, 0x800421A, 0x800CCC92 and 0x800CCC1A. Please
    assist in stopping the madness.
    Thanks, ICRonline

    There's just too much info needed to be saved. If it's simply transferred over to the new profile then it works for a short time then the corrupt files wreck the new profile.
    This isn't an attempt to provide any kind of definitive answer but your description begs a number of questions...
    #1 - What kind of email account is this particular PST file associated with - POP3 or IMAP?
    #2 - If IMAP - am assuming that the PST file in question is related to the one which contains the <Inbox> folder> correct?. Simply deleting (renaming) this file will result in a new one being automatically recreated with the contents of whatever
    exists on the server (assuming you have no created any kind of <local only> unsubscribed folders in the tree) - which then begs the question as to whether or not the root of the problem exists within the data stored on the server
    #3 - If POP3 - what is the format of the PST file - ANSI or Unicode? If ANSI - what is the size of the file? ANSI files max out at 2gb
    To determine the format - right click on the root of the PST file --> properties --> click <Advanced> button --> if the <Format> field description contains <97-2002> - it's an ANSI based PST file. (Regardless of anything else - if
    this is the case - should be converted to a UNICODE file)
    #4 - Where is the PST file being stored - on a local drive or a network drive? If network - not supported and highly prone to causing corruption.
    #5 - Purely from a logical perspective - the fact that things appear to work properly for the "first few days" after a new profile is created indicates that there is something consistently occurring on some kind of 'timed basis" triggering
    your issues. If that's the case, even if ScanPST did fully clear all issues - just a matter of time before the same thing happens again (whatever "that thing" may happen to be) - ergo, in this scenario, highly unlikely that ScanPST is the answer
    since what really needs to be done is to find the root cause of what is triggering the problem.
    #6 - It would also be pretty safe that this is not a generic issue impacting everyone using OL'2010 - regardless of OS so your environment is one deserving a lot of close scrutiny.
    Karl Timmermans [Outlook MVP] "Outlook Contact Import/Export/Data Mgmt" http://www.contactgenie.com

  • I bought and downloaded a few song on iTunes. Now I see that some of the songs were not completely downloaded and stops a few seconds into the song. I went back to the album but it does not give me an option to re-download. What do I do so that I can down

    I bought and downloaded a few song on iTunes. Now I see that some of the songs were not completely downloaded and stops a few seconds into the song. I went back to the album but it does not give me an option to re-download. What do I do so that I can down

    Just found the answer - if you have the sam problem look here for the answer:
    https://discussions.apple.com/thread/5769424?tstart=0

  • My iphone hangs any time.I see a call coming but i cannot attend. My call drops anytime and i cant even end the call.The settings page doesnt respond many times.I have given the phone to Apple care , they update the software and return it back to me

    My iphone hangs any time.I see a call coming but i cannot attend. My call drops anytime and i cant even end the call.The settings page doesnt respond many times.I have given the phone to Apple care , they update the software and return it back to me.IT WORKS FINE FOR 3-4 DAYS AGAIN THE SAME. Its under warranty and i am disappointed with the Apple product and service

    If you used your backup to restore the data after it got returned, set it up as new device and don't use the backup data afterwards. It seems that some data inside the backup are corrupt. Follow this article and set up the account info and other setting manually after that:
    Use iTunes to restore your iOS device to factory settings - Apple Support

  • Does the SCOM 2012 agent "look back" in the logs before the service was started?

    Does the SCOM 2012 agent "look back" in the logs before the service was started?<o:p></o:p>
    We raised this question to our Microsoft rep back when we migrated to SCOM 2007. We wanted to know if SCOM would alert on errors generated before the Heath Service started. For example, errors
    logged before the service is started on reboot (which is when some critical errors are logged). We also wondered what happens when the service is restarted...would errors during the same window be missed?
    If I remember correctly the MS response was that the agent looks back on startup/restart based on a timestamp of some kind. We did some testing that seemed to confirm this information. I've
    recently encountered several instances of errors generated while the service was stopped (primarily during boot up) where SCOM failed to alert on the error.
    Can anyone confirm how the SCOM 2012 agent deals with errors generated before the service starts on boot and during service restarts?

    I would suspect it's with watermarks as it has been in the past.  What you should look into is if these alerts you were expecting are event based, and if there are rules set to alert for these conditions.  If so, and you don't get an alert,
    then you can bring that up with your msft rep.  However, they should be caught.
    Regards, Blake Email: mengotto<at>hotmail.com Blog: http://discussitnow.wordpress.com/ If my response was helpful, please mark it as so, if it answered your question, then please also mark it accordingly. Thank you.
    There is a watermark. If the agent has been down for a significant period of time, the watermark may not apply, as the log would have rolled - but the entire log will still be processed regardless of what has already been discarded in the log. This may cause
    some problems if a monitor picks up an unhealthy state, and the healthy state log entry has already been flushed. In this case, you need to reset health on that particular monitor, or just flush the cache on the agent to start anew.
    Jonathan Almquist | SCOMskills, LLC (http://scomskills.com)

  • Ok. So my iTunes started acting up a few months ago. ALL of the songs I purchased from the iTunes store stop in the middle of the song and then go back to the begining (I keep it on repeat one song by the way). Please help!!! (Windows 7)

    Ok. So my iTunes started acting up a few months ago. ALL of the songs I purchased from the iTunes store stop in the middle of the song and then go back to the begining (I keep it on repeat one song by the way). Please help!!! (Windows 7) I would really like to hear my songs all the way through, but I can't . I tried the "Convert Protected ACC files to Purchased ACC files fix" but it DIDN'T work. I don't know what to do. It does it when I transfer the music onto my Classic too.

    What do you mean "doesn't recognize"?

  • WBAdmin BMR backup says "There is not enough free space on the backup storage location to back up the data."

    We're doing nightly BMR backups of a small 2012 R2 Hyper-V host via wbadmin to 2TB USB disks, via
      wbadmin start backup -backupTarget:z: -quiet -noverify -vssFull -include:e:,c: -allCritical
    (where E: contains the sole VM).
    We are using the same backup system on other similar Hyper-V hosts running 2008 R2 and 2012, with no problems. However, with this 2012 R2 host, after a few months of no problems the backups started failing with:
      There is not enough free space on the backup storage location to back up the data.
    This made no sense, and continues to make no sense:
    The 2TB backup disks are only half full (>1TB free), with 600GB of unallocated shadowstorage.
    There should be room for many more backups on these disks. Each currently contains 11 to 13 backups, with the initial full backup having required about 600GB and each subsequent backup only requiring another 20GB to 40GB.
    There is over 40GB free on the C: drive and 300GB free on the E: drive; free space on the host volumes is not an issue.
    Increasing the shadowstorage limit on the backup disks to unbounded doesn't resolve the issue.
    This is not a problem of a RECOVERY partition that's too small, and SystemState backups always complete successfully.
    The first workaround we found was to temporarily reduce (not increase) the shadowstorage allocation on the E: drive (containing the VM) and then increase it back (with the end result of deleting old shadow copies).
    This worked reliably, but looking for a root cause led us to uninstall the Windows Updates installed mid-September (in particular the Aug 2014 and Sep 2014 roll-ups), which preceded the start of this problem. But instead of resolving the problem the uninstalls
    made it worse, in that our workaround stopped working.
    We reinstalled the Windows Updates, and then tried setting backup performance to normal, in case the problem was related to VSS on the host volumes, but the errors continued.
    At this point the only way we've found to work around the error is to delete 1 or 2 of the oldest backups on the destination disk, via
      wbadmin delete backup -backupTarget:z: -deleteOldest
    after which the new backup will succeed.
    But, again, this makes no sense, as the destination disks are only half full, and even if space was an issue wbadmin should delete old backups as required. And this same system is working fine on 2008 R2 and 2012.
    Any suggestions?
    Thanks,
    John

    Hi John,
    Please check run the command below to check if the space required to complete the backup causes the snapshot storage space to become less than 1/8 of the target size.
    vssadmin list shadows /for=x: will list the shadow copies on x: and creation time.
    WSB will not shrink the diff area to less than 1/8 of Target volume size as we do not want to lose all past backups just to accommodate this one.
    For more detailed information, please refer to the article below:
    Windows Server Backup automatic disk usage management
    http://blogs.technet.com/b/filecab/archive/2011/03/14/windows-server-backup-automatic-disk-usage-management.aspx
    V. Backup, Restore and Disaster Recovery
    http://social.technet.microsoft.com/wiki/contents/articles/1846.v-backup-restore-and-disaster-recovery.aspx?Sort=MostUseful&PageIndex=1
    Best Regards,
    Mandy 
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • After writing into serial port, the same message gets bounced back into the Inqueue also. If anyone know how to avoid this, please rpely.

    Hi,
    After writing into serial port, the same message gets bounced back into the Inqueue also. If anyone know how to avoid this, please reply.
    Thanks,
    Ganesh

    If you disconnect the cable going to the serial device, do you still get the echo? If so you have something going on in the port setup. If disconnecting the cable stops the echo then the device you're talking to is doing it - which would be my bet. One thing to check is whether this might not be normal operation. I have seen devices that if a command was successful, it simply echo'd back the command string you had sent. Also many serial devices have setting for specifying whether they are to echo commands.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • I tried updating my iPod touch 4th gen and now the screen is bright blue or flashing white and black lines.ive tried the whole home and power button thing but it only brings up the apple icons then goes back to the blue or other screen.please help?

    I tried updating my iPod touch 4th gen and now the screen is bright blue or flashing white and black lines.ive tried the whole home and power button thing but it only brings up the apple icons then goes back to the blue or other screen.please help?

    This has worked for some others.
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try on another computer
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar       

  • I cannot get the email sent to me back on the ipad once I have read it How do i find it again?

    I cannot get the email sent to me back in the mail section of my ipad once I have read it How do i find it again? and when i press accounts and the "SENT" buttonI don'y gat the emails sent too me?

    The "Sent" mailbox is for emails YOU have sent to someone else.
    Tap the buttons at the top of the mail list until you return to the Mailbox list, then tap All Inboxes or the Accocunt name.

  • When I first open Firefox it is fine but if I open a second tab to search another site I get a white screen and have to continually click 'back', click the site link, white screen, back, click the link, white screen and so on.

    When I first open Firefox it is fine but if I open a second tab to search another site I get a white screen and have to continually click 'back', click the site link, white screen, back, click the link, white screen and so on.

    This can also be a problem with the files [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    Delete [http://kb.mozillazine.org/sessionstore.js sessionstore.js] and sessionstore.bak in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Profile Folder]
    If you see files sessionstore-##.js with a number in the left part of the name like sessionstore-1.js then delete those as well.
    You will have to redo App Tabs and Tab Groups after deleting sessionstore.js.
    See:
    * http://kb.mozillazine.org/Session_Restore

Maybe you are looking for