Full GC does not free all memory

System is configured with a large heap (~3G), probably much bigger than it needs to be IMHO, but the developers are seeing the following and want to know why:
As the application runs heap is used, we see minor GCs and finally see a Full GC.
After the Full GC very little memory is actually freed:
14970.654: [ParNew 3192761K->2803025K(3210880K), 0.0796463 secs]
14980.616: [ParNew 3183162K->2794633K(3210880K), 0.0818737 secs]
14983.435: [GC 2892773K(3210880K), 0.5296831 secs]
15006.100: [ParNew 3186595K->2795356K(3210880K), 0.0833804 secs]
15018.538: [ParNew 3195996K->2805448K(3210880K), 0.0809474 secs]
15023.679: [GC 3006631K(3210880K), 0.2788505 secs]
15039.125: [Full GC 3174181K->2766248K(3210880K), 66.1657414 secs]
15108.029: [GC 3058032K(3210880K), 1.2886333 secs]
15110.294: [ParNew 3166871K->2782594K(3210880K), 0.0857900 secs]
15113.205: [ParNew 3183234K->2799956K(3210880K), 0.0949253 secs]
15149.340: [Full GC 3200596K->2781407K(3210880K), 66.4635854 secs]However, if they force a GC from an external source (such as Jconsole) MUCH more memory is freed.
The question is, why is so little memory freed when an automatic Full GC happens compared to a forced (externally initiated) Full GC?
Relevant config:
-DLOG_COMPATMODE=Off
-Djava.protocol.handler.pkgs=com.iplanet.services.comm
-Dcom.iplanet.am.serverMode=true
-Xloggc:/usr/local/sun/ws6.1/https-gcptl/logs/gc.log
-server
-Xss128k
-XX:NewSize=392M
-XX:MaxNewSize=392M
-XX:+DisableExplicitGC
-XX:+UseParNewGC
-XX:+UseConcMarkSweepGC
-XX:+PrintClassHistogram
-XX:+PrintGCTimeStamps
-XX:ParallelGCThreads=8
-Djava.util.logging.manager=com.iplanet.ias.server.logging.ServerLogManager
-Xms3136M -Xmx3136M
-Dsun.rmi.dgc.client.gcInterval=1800000
-Dsun.rmi.dgc.cleanInterval=3600000

Hi Jeanette,
Looks like the data is getting overwritten in the DSO. This usually happens when there are records with same Key Fields and also has certain characteristics that are unique but not key fields.
I suggest, you take a subset of a GL for which the data does not match, then compare the entries in the DSO and the PSA.
For Eg: If Business Area is not the key, then the data for all the same business areas will be overwritten. Thus making the BA key would eliminate the problem.
Hope this helps.
Regards,
Gaurav

Similar Messages

  • Full extractor does not load all the g/l accounts

    Hello experts,
    I have a empy DataStore Object (ZFI_O02) and I want to load the information (g/l accounts) with a full infopackage. The load have the status of "Green" but when I check the information I have accounts without some documents. I do not know why my full extractor does not load correctly all the information.
    I test the DataSources  (3FI_SL_K2_SI) with the Tcode RSA3 and the test shows the all the accounts with all the documents.
    Others tests ->  I used the same infopackage (full mode) and restrict with the 0FISCPER (2010) and 0GL_ACCOUNT (Account Number) checked the PSA and I have the acoount with all the documents.
                         -> I used the same infopackage (full mode) and restrict only with the 0FISCPER (2010) checked the PSA and I have the account with one document missed.
    Please help me.
    Regards
    Jeanette

    Hi Jeanette,
    Looks like the data is getting overwritten in the DSO. This usually happens when there are records with same Key Fields and also has certain characteristics that are unique but not key fields.
    I suggest, you take a subset of a GL for which the data does not match, then compare the entries in the DSO and the PSA.
    For Eg: If Business Area is not the key, then the data for all the same business areas will be overwritten. Thus making the BA key would eliminate the problem.
    Hope this helps.
    Regards,
    Gaurav

  • Address book of my mac does not show all my contacts in iphone. What do i do??

    Address book of my mac does not show all my contacts in iphone. What do i do??

    iCloud, which replaced MobileMe, requires OS X Lion (10.7.5) or higher.  You will need to upgrade to OS X Lion higher in order to set up iCloud on your Mac.  First check to see if your system meets the system requirements to upgrade.
    Lion system requirements are:
    Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
    2GB of memory
    OS X v10.6.6 or later (v10.6.8 recommended)
    7GB of available space
    Mountain Lion and Mavericks requirements are the same, as listed here: http://support.apple.com/kb/HT5842.
    If you can run Mavericks, you can download a free upgrade from the Mac App Store.  If your system can only run Lion, you can go here to purchase a redemption code to download it from the Mac App Store.  If you prefer Mountain Lion for software compatibility reasons, you can go here to purchase a redemption code to download it from the Mac App Store.
    After upgrading, you will find iCloud in System Preferences>iCloud on your Mac, and can set it up as explained here: http://www.apple.com/icloud/setup/mac.html.
    Before upgrading, you may want to check the compatibility of your existing applications by checking here: http://roaringapps.com/apps:table.   Also be aware that older PPC programs such as AppleWorks and Office 2004 for Mac will not run on OS X Lion or higher.

  • "The Finder does not have enough memory available"

    "The Finder does not have enough memory available"
    Situation: G4 (AGP Graphics), OS 9.0 with tons of memory.
    Problem: Only with any browser viz Explorer, Communicator, iCab or Opera (all versions). Starts off fine. I have broadband. Then steadily goes slower and slower till virtually stops even with just the one browser and one window and no other programs in use. Try to do anything else and above message appears. The problem seems to involves the operating system and the way it interacts with the code of certain sites eg Ebay. It has nothing to do with PRAM, or allocation of memory to the browser or deleting various Preferences. The deletion of Finder, Memory etc Preferences, quitting, restarting all deal with the symptoms and are not a permanent cure. The primary symptom is a massive loss of available memory, not even enough to run a single browser and one window! Any simple solutions? I realise I can upgrade to OS 9.2. Will this work? Apart from this browser problem I am happy with my present set so is there a simpler solution apart from upgrading?

    Thankyou to all for the welcome and your responses to my query.
    I have 640mb of RAM. The problem is intermitent and is determined to a great extent by the sites which I visit. Yahoo for example is great - no problems. In another window visiting eg Ebay will eventually (variable) cause a slowdown. I have switched Virtual Memory on and off, changed cache, program allocations of memory, regularly used Norton Utilies to inspect, repair, defrag etc and looked all over the place for advice. Things run great for a while but it is only a question of time , months or even days, before the problem re-appears. I was surprised to find so little about it on the Web. Perhaps everyone else has upgraded or is on OS X! If I could have done something without upgrading I may have gone for that option as everything else is running like a dream and I want to keep it that way! I use programs such as Paperport (sadly not made for OS X) which I find a marvellous scanning and paperwork management program. To get it to work with OS 9.0 I had to determine with Cassidy & Green's marvellous extension conflict identifier Conflict Catcher that the Control Strip needed disabling. If I upgrade, I could, for Paperport et al, upset the Apple cart! I have also read about a program called Reaper which was used to deal, I believe, with Finder memory problems with OS 7 and OS 8. It is still available on at http://www.versiontracker.com/dyn/moreinfo/macos/3783 Apart from this I know nothing more at present about it.
    However, the following was one item which I found of great interest which goes along with your advice of upgrading.
    From http://www.icab.de/faq.html#q36
    "Mac OS 8/9: Why does iCab 3.0 complain that it is running out of memory all the time?
    This is not a bug of iCab, it's a bug of the "classic" MacOS 8.5/8.6 (and maybe OS 9.0 as well). The problem occurs when a web page has web forms with text input fields. The Unicode text input fields (MLTE) of these old MacOS releases do still have some serious bugs. One of theses bugs causes the MacOS to reserve almost all available memory for these text edit fields so there's no memory left for iCab. Apple has fixed this bug in MacOS 9.2.x (maybe in 9.1 as well), so the best solution for this problem would be to upgrade the MacOS. If this is not possible, you can disable the Unicode text input fields in the preferences dialog of iCab in the panel "Operation > Browser, Tabs". Switch off the option "Use Unicode TextEdit" to configure iCab so that it will use the "ancient" text edit fields, which do work OK, but which do not support Unicode".
    Here is someone with a similar problem back in 2000:
    "From TacitRF
    Date: Thurs, Jun 8 2000 12:00am
    Email: [email protected] (TacitR)
    Groups: comp.sys.mac.system
    This is ridiculous! I have hardly touched this machine today. Does RAM get eaten up while the computer is sitting there idle (and sleeping every now and then after I've checked email or looked at a couple newsgroup posts)?
    Yes, it can, under certain circumstances.
    Open your TCP/IP control panel. Click the Options button. (If there is no Options button, select Edit->User Mode, and click "Advanced.") Is "Load Only When Needed" turned on? If it is, you may severly fragment the memory in your computer every time you start a program that uses the Internet. Let's say, for example, you launch Netscape. Netscape tries to access the Internet. This causes TCP/IP to load, on top of Netscape. Now, when you quit Netscape, the memory it was using may not get freed up. Launch Outlook. It loads TCP/IP. Now, when you quit Outlook, you may not get its memory back either". Try turning off Load Only When Needed in the TCP/IP Options, see if that solves
    the problem. Hope that helps!"
    I find that whatever I do one way or another the slowdown will eventually reappear. A bit like weeding gardens and washing dishes! Well unless there is a way of dealing with OS 9.0 memory behaviour with browsers it looks like an upgrade will have to do!
      Mac OS 9.0.x  

  • Using term set as refiner in content search web part does not show all used terms

    When you create a terms set (12 terms with +/- 10-20 child terms) , attach it to a site column and allow multiple values to be selected the search service does not find all used values in the REFINERS tab of the content search web part.
    Example:
    Field ‘Tags’ is the term set which can be refined. We want to do this in the REFINERS tab of the content search web part.
    Tags is containing following fields:
    •Course document
    •Poster
    •ALS
    •Before
    •During
    •CPR/AED I
    In all libraries we used +/- 15 different tags already.
    Example of a tag field in the library:   "Poster;ALS;Belgium"
    The problem is we can’t see all of the used tags in the refiners tab when you open it for the first time.  (You can see Belgium or Cyprus is not in the list of tags.)
    When you select one tag and add it as a refiner, the others eventually do show up. But never all of them together.   It’s like he is only showing the most used (and maybe first selected?) tags first. I also think he might be having some trouble
    with multi value selections in the tag field.
     Does anyone else have the same issue as we do? And is there a solution already?

    Hi Sasha,
    According to your description, my understanding is that all the used terms cannot display in the Refiners in Content Search web part.
    If the results display in the Search Result Preview, then the terms used in these results can be displayed in the Refiners tab.
    I tested the same scenario per your post, and when I first opened it I can view all the terms which were used in the search results listed under owsmetadatafacetinfo.
    I recommend to do a full crawl and then you can view all the terms used in the search results are displayed under owsmetadatafacetinfo.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Nokia E-5 music player does not show all songs. Th...

    my Nokia E-5 music player does not show all songs. The filemanager does though. have tried every damn thing that i could, from the internet. no solution yet. Nokia wont address it. any solutions? please dont ask me to refersh my music player. nokia now manufactures stupid phones, instead of smartphones..
    can any one help, friends? the last option i have to sell it off and wait for an HTC qwerty mango 7.5 phone

    I perfectly understand that this is frustrating and of course Nokia should adress this.
    I do not work for Nokia so maybe you could contact them. I see you have been to a care centre and reset it, but hopefully by contacting them by email they can log the issue for further work on firmwares?
    I hope this sorts out. Have you btw, tried with some other memory card?
    If it's not too much of a struggle, try backing up everything you have on it and format it, then reboot the phone which will recreate the needed folders and then drag and drop your stuff back to it and check again.
    Hope you get it solved mate!

  • Macbook has Grey screen wont start- said " MAC OSX does not have enough memory "

    My daughter was using the macbook, and a message came up saying something like MAC OSX does not have enough memory for start up applications, ...
    and it was frozen ( wish I had written down what it said") In held the start button down for 10 seconds, and now it wont work properly.
    All I get on start up is a grey screen. I have tried holding down shift key and rebooting, but nothing.
    I tried resetting the Pram or whatever it is.
    I cant try and start from the start up utility disc as there is already a disc in there and I cant get it out.
    Have tried rebooting with mouse key pressed., have tried rebooting holding F12, rebooting holding command O and P , have tried pushing the ejectb button when rebooting. But nada.
    Ipod died last week, video camera on the blink yesterday, am having a bad electronic week!!!
    Has it died or is there another solution..Help please.

    Wow, sorry to hear!
    Does it boot into any of these modes?
    Target mode...
    http://support.apple.com/kb/HT1661
    Does it boot to Single User Mode, CMD+s keys at bootup, if so try...
    /sbin/fsck -fy
    Repeat until it shows no errors fixed.
    (Space between fsck AND -fy important).
    Resolve startup issues and perform disk maintenance with Disk Utility and fsck...
    http://docs.info.apple.com/article.html?artnum=106214
    Does booting with the Option/alt key held down show any boot choices or work at all?

  • JInternalFrame is closed, but does not release the memory

    Hi,
    I have problem with using of JInternalFrame.
    I create a new internal frame, and close it."setClosed(true);dispose();"
    The frame does not release the memory (after gc the allocated memory is the same)
    Before close I removed all listeners, and closed all reference to other object. (I think so :-) )
    Do You have any idees?
    regards
    G�bor

    Hi,
    I think u will have to release all the associated used objects. or you can also call the finalize() method in order to release the memory.
    Regards,
    Balaji.SN

  • Your computer does not have sufficient memory

    This problem is already tracked in a couple of other threads but I wanted to start a new one where I have already implemented most of the recommended fixes but am still having a problem. When attempting to publish various projects, and with no particular consistency, I'll receive this error:
    Your computer does not have sufficient memory resources to publish your file.
    I always launch Cp5 as an Administrator
    I always clear the cache
    All projects have the following Preferences un-checked: Advanced Project Compression and Compress SWF File
    I continue to reboot and re-launch until publishing inexplicably works.
    Once a project is suceesfully published, attempting to do so again usually results in the same error.
    After receiving the error, and attempting to publish again, Cp5 typically crashes
    I am running Windows 7 with a 2.66GHz processor and 4 GB of RAM on a 32-bit system
    Please advise on any fixes, solutions, work-arounds, or animal sacrifices that will help me out.
    Thanks!

    Rather than blame Captivate, this sounds to me like there's something in your project that might be causing instability.
    I was having the same problem on one of my projects many months ago when I was working on the Cp5 beta program.  It turned out to be due to having square braces [ ] in the Slide Notes area.  (This was confirmed by Adobe techs after I sent them the project file.)  Apparently there are some characters that should not be used in the Slide Notes area, especially if you use them in Closed Captioning.  It was the fact that I had accidentally included a Notes line with square braces as a CC line that caused the error.  So I removed all square braces, replaced them with pipe characters, and haven't seen the issue since.
    Some other questions in case the above doesn't work for you:
    Is this project perchance one that started life in a previous version of Captivate and you upgraded to Cp5, or was it created from scratch in Cp5?
    Does it do this in just this one project or on any Captivate 5 project you create from scratch?
    How big is the project?
    Does it contain any Flash animations that might contain AS2 code or that were published as AS2 (even though they only contain stop() actions)?
    Have you tried copying groups of files from this problematic project over to a fresh new blank project to see if you can replicate the issue there.  As soon as you see the issue reappear, try deleting out the last group of slides to see if that removes the issue again.  By a process of elimination you may be able to find the actual slide/s that are causing the issue, and then keep deleting items off the slides until you are able to find the actual object.  I've found corrupt objects this way on a few rare occasions that Cp projects became unstable.
    Hope this helps,
    Rod

  • Ipod touch cannot not be sync as itunes does not have enough memory

      I got a new ipod touch 32gb yesterday 12.sept 2011.
    i set it up to my computer and put my apps and music on to it, its has 25.2gb left on it and my computer has 80gb memory left put when i try to put pictures on to the ipod 32gb it shows and error message saying
    THIS IPOD CANNOT BE SYNC AS ITUNES DOES NOT HAVE ENOUGH MEMORY,
    whats going on.?
    Also all my apps from my 8gb ipod touch are all updated and put on the 32gb ipod touch  but when i go to updates on the 32gb ipod touch it shows all my apps have updates to download
    but when i click on the same are showing the £0.69 next to them, if i click on them do i have to buy them again? WHEN I ALREADY HAVE PAID FOR THEM
    my ipod touch 8gb has 4gb memory left and that too cannot sync pictures or any more music as the same error message shows
    THIS IPOD CANNOT NOT BE SYNC AS ITUNES DOES NOT HAVE ENOUGH MEMORY
    IS THIS I TUNES MEMORY OR SOMETHING

    it seem's to be working not but don't know how long
    keep your fingers crossed ...
    my laptop has an 2tb of ram
    you mean 2GB, right? You might consider to get yourself more RAM to run Lion smoothly. Looking at my machine I see that the kernel, Safari, iTunes and Mail together take up 2GB, without doing anything interesting at all.

  • IOS 8.1 Does Not Download All iCloud Mail/ Keeps Cache?

    Hello,
    I have setup and enabled an iCloud e-mail account on all of my devices and was successfully able to use the Mail app in Mac OS X Yosemite to copy mail from my Yahoo! inbox to my iCloud inbox.  All e-mail copied from Yahoo! Mail appears in the OS X Yosemite Mail app as well as in the iCloud.com site, however, my iPad Air 2 and iPhone 5 both running iOS 8.1 does not download all of the mail from iCloud.  I have tried the following on both iOS 8.1 devices with no success.
    - Disable iCloud mail and re-enable
    - Sign completely out of iCloud and sign in again, then reconfigure all iCloud services including mail
    The result of both steps is that the incomplete list of e-mail in the iCloud inbox just reappears in the Mail app instead of downloading from iCloud again.  It looks like the incomplete list of e-mail is stored on the iOS device and signing out of or disabling iCloud mail just hides it; re-enabling or signing in merely shows it again.  This appears to work differently than my Yahoo! Mail configuration where if I sign out of or delete the Yahoo! account and reconfigure, iOS downloads a fresh copy of all e-mail in the inbox and all other folders.  Here are my two questions:
    - How do I get my iPhone and iPad Air 2 to download ALL e-mail from my iCloud mail account?
    - Are my suspicions true? Does iOS actually store a cached copy of iCloud mail on the device when the service is disabled and just "redisplays" it when re-enabled?
    Thanks!

    I had the same problem. My iCloud it's a mess since the iOS 8.1 update.
    Probably your iCloud isn't working too.

  • Form does not display all records from table

    Hi guys
    I modified one form that was based on a signle DB table. I removed certain fields from the table and added some extra fields to that table. Then based on the new table I also modified the form and removed the text items related to old fields in the table and added new text items pointing to the new fields now. II have checked all the new items properties and they have don't seem to be wrong or so. But now the problem is the form does not display all the records from the table. before it used to display all records from the table when qureied but not now. It only certain records from the table containing all new data and also old data but the form does not display other records though I don't see any obvious discrepancy. Remember that the before doing the modifications, I have table back for the old, created another table that contained new records for the new fields, and then I inserted the old records and updated the new table data in the new table with these new table values. So this way I have got my new table. Could someone help why the new modified form fails to display all records from the new table updated table though it display some of them successfully.
    Any help will be appreciated.
    Thanks

    hi
    Set the block property of "Query All Records" to "YES"
    hope it will work.
    Faisal

  • Transaction MD04 does not show all open sales/orders deliverys

    Hi,
    Transaction MD04 does not show all open deliverys and sales orders for plant 0705 and certain materials.
    Can anyone tell me the reason for this?
    Regards,
    Brijesh

    Hi
    Run SDRQCR21 report in Transaction SE38 for that material it will  resolve your issue.
    Please confirm
    Amit

  • Analysis does not show all rows returned by SQL

    Hi.
    OBIEE 11.1.1.7.0
    I have a strange problem.  I have a simple table that should return customer number and sales.  The report will show all of the sales, but it does not show all the customer numbers.  The SQL that OBIEE creates does return all of the customer numbers.  When I remove the sales and just include the customer number, the report only shows a couple of the customer numbers (it should show several hundred).
    I guess what I'm looking for is any advice for how to debug this.  I have spent about 3 days on this problem, so I have tried to look at it from every angle (data, RPD, report).
    Any suggestions are appreciated.
    Thank you.

    Thank you for your reply.
    New development.  The issue has to do with a descriptor ID column.  The customer number column is a varchar field and I set the descriptor ID column to the column_ID field.  When I remove the descriptor ID setting, I received all custom numbers.

  • Short key for copy does not work all the time now.

    After I have installed the latest OSX - Yosemite, my short key for copy does not work all the time.  It is infrequent how it works. I'm using the same keyboard that I have always used, my wireless logitech keyboard for mac.  Please help.

    I've plugged in my default mac keyboard and the short key copy still does not work.

Maybe you are looking for

  • All possible Strings of 1 and 0

    if i wanted to create all possible strings of n 1's and n 0's where there are never more 0's than 1's using 2 for loops and recursion how would i go about this? (the first for loop controlls how many 1's are in the string the second how many 0's up t

  • Opening pdf files in preview,mine will only open in colorsync utility. help

    My macbook operating on Mac os 10.5.6 when opening pdf files it will only open them with colorsync utility and I can't alter the files (rotate/zoom etc) like I can when I can open it with Preview on my iMac desktop... I don't seem to have preview on

  • How can I access user defined column(in query) inside the trigger?

    Hi I have 3 unions and each query displays different records on some criteria. I also have a column hard-coded Ex: select a.col1, a.col2, add as update from table1 a where ... union select a.col1, a.col2, change as update from table1 a where ... unio

  • Linking flash buttons

    I am new to this. I have followed several tutorials with no luck. I am using action code 3. I want to link an invisible button to an url. I placed the code in the layer with the button. The following code I have used, but then follows the error messa

  • Mirror my I-pad ?

    Just hooked up Apple tv, I was under the understanding I could mirror my I - pad. I am trying to view my many photos on my television , stored on photo stream.  It shows about 69 photos, I have almost 2000.      Are they supposed to be controlled fro