FULL GC is triggered almost everytime.

Hello.

I use the tomcat (ver6.0.35) server.
I learned that my tomcat server suffers bad memory of the GC log control.
Journal of GC said that it is only full GC is triggered. No minor GC.

Background information.
Server Windows 2003 R2 x 64 edition
8G RAM
Java 1.6.0

Here's the catalina option
-Xloggc:gc.txt - XX: + PrintGCTimeStamps - XX: + HeapDumpOnOutOfMemoryError-XX:HeapDumpPath=./java.hprof - XX: MaxTenuringThreshold = 128
Xmn512M-Xms1024M-Xmx1024M

This is GC log
577208.794: [full GC 917504 K - > 820157K (983040K), dry 2,8304534]
577320.217: [full GC 917504 K - > 823077K (983040K), dry 2,8086173]
577444.837: [full GC 917504 K - > 823036K (983040K), dry 2,8255810]
577553.258: [full GC 917504 K - > 803602K (983040K), dry 2,8666142]
577689.493: [full GC 917504 K - > 823041K (983040K), dry 2,8355752]
577785.868: [full GC 917504 K - > 823082K (983040K), dry 2,8279698]

To know what is the main cause of full GC. I poured piles with visualVM.
As a result of heapdump. I learned these things.
java.lang.String has 32.6% of cases
Char [] has 32.6% of cases
java.util.HashMap$ Entry was 25.8%
Others are less than 1%.

Now, I'm co work with my partner to release memory after using the sort of objects HashMap and vector Arraylist collection and so on.
But I don't know what I'm doing is useful or not.

Please guide me what things should be done to solve this problem?
Thanks in advance.
Dan

>
I'm curious, what did Xmn - I wonder? I do not know and does not turn a quick search on google results.
>
Sets the size of the young generation. Documentation seems to be pretty scattered.

If you use "-Xmn" (in quotes)-java oracle for example google "-Xmn" you will get appropriate results.

Here are a couple:

http://docs.Oracle.com/CD/E13150_01/jrockit_jvm/JRockit/geninfo/DIAGNOS/migrate.html
http://www.Oracle.com/technetwork/Java/JavaSE/itanium6u14-137456.html
http://www.Oracle.com/technetwork/Java/hotspotfaq-138619.html - see "memory and Garbage Collection
http://www.Oracle.com/technetwork/Java/JavaSE/tech/exactoptions-JSP-141536.html - available since 1.4

Tags: Java

Similar Questions

  • 13.0 Firefox crashes on startup almost everytime. Thus, all of the updates fail because Firefox has to restart. What should I do?

    For the past several versions of Firefox (I think 10 or 11), I had a lot of trouble to get Firefox to start. I understand not all crash IDs. It just won't start not almost everytime. Ironically, I think to be able to get to doesn't start until I opened another browser such as Internet Explorer. Then, it will start until I close it. So I have to repeat the same process (opening another browser, then try to start Firefox) every time so he could start again. Now, the problem seems to have gotten a some worst bit with version 13.0. It cannot be updated because Firefox needs to restart to update. When he tries to turn on, he can't. When I finally get Firefox to work (after opening IE), I get a notification indicating that the update failed. I saw the notice on the Web site, but does not. It drives me crazy!

    You can also check your security software (firewall) because it does not yet acknowledge the new version of Firefox 13.0.1.

    One possible cause is security software (firewall, antivirus) that prevents or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox and the plugin-container in the permissions list in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Firefox blocks ("crashes") almost everytime I open a second browser window. How can this be repaired?

    I recently (about a month) downloaded the latest version of Firefox, and since then, the browser crashes almost everytime I open a new window in Mozilla browser. I've never had this problem in the past.

    You use the default theme? If no, place you in default theme.

    If this isn't a problem with a 3rd party theme, try Firefox SafeMode.

    A way of solving problems, which disables most of the other modules.

    1. You can open the Firefox 4.0 SafeMode pressing the SHIFT key when you use the desktop Firefox or shortcut in the start menu.
    2. Or use the Help menu option, click restart with the disabled... modules while Firefox is running.

    To exit safe mode of Firefox, simply close Firefox and wait a few seconds before using the shortcut of Firefox (without the Shift key) to open it again.

    If it's good in Firefox SafeMode, your problem is probably caused by an extension, and you need to understand that one.

    http://support.Mozilla.com/en-us/KB/troubleshooting+extensions+and+themes

  • my iMac which turns almost everytime I click. What could be causing it?

    My iMac which turns almost everytime I click or type a few words. What could be causing it?

    Check with EtreCheck for

    http://www.etrecheck.com/

    and post it here.

  • Windows 7 - Windows Media Player 12 blocks almost everytime

    Hello

    Almost everytime I open Windows Media Player 12, it crashes. Usually, the window opens but is grey and the cursor indicates that it is busy.

    I tried the following two methods to fix the problem.

    Method 1.
    1. click on start and in the search bar type cmd.exe
    2. right click on cmd.exe and click Run as administrator
    3. in the command prompt, type the following command

    net localgroup "Administrators'" NT Authority\Local Service "/ Add 4. press on enter and restart the computer

    Method 2.
    Uninstalling and reinstalling Windows Media Player:

    Step 1.
    Uninstalling Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. search for multimedia and uncheck the brand in the face of Windows Media Player.
    4 restart the computer
     
    Step 2.
    Reinstall Windows Media Player:
    1. go to start and in the search type "Turn Windows willing or not.
    2. click on "Turn Windows features on or off".
    3. find the multimedia functions and place a check mark in front of the Windows Media Player.
    4 restart the computer.

    Method 2 resolves the issue. However, it got to the point where WMP 12 is useless because almost everytime, it blocks and I'm not ready to have to restart my PC twice in order to watch a video or listen to music.

    Come on Microsoft - please get your this sort and give us a proper and permanent solution to the problem of 7/WMP 12 inherant Windows.

    Kind regards

    Jonesyboi

    I had this problem for months, it was really making me nervous. But I've sorted it.

    The problem was in pictures, corrupted files, not wmp or music that I assumed that would be the question.

    Heal... GB of photos and video. I had some files that had no picture. These are the corrupted files that were the cause of the problem. I had 8 photos and 2 videos that I downloaded on my iPhone 5. I just don't understand how or why it happened. Not a clue.

    Even removing them was difficult, as I went to remove WMP shutdown.

    So I google and download "File Assassin" work all works fine now.

    I curse me Microsoft WMP, but Apple has been the cause of the problem.

    Good luck, WMP is so much better than ITunes.

    If it works let me know. I just would like to know if it helps someone.

  • Almost everytime I open TB it downloads my 'all messages '. Why? He sometimes TB freezes until full! Help

    From one day to the next, I usually left my TB. When I open it in the AM, it downloads almost always "all messages". Often, it freezes my email for a few minutes until the download is almost complete.

    Do you even need to see your mail folder all? I would suggest churn it and does not unsubscribed folders.

    I also suggest create you an account Bugzilla and CC yourself to this bug
    https://Bugzilla.Mozilla.org/show_bug.cgi?id=816327 Note my comment on the Bug inside. I can't be bothered to repeat, but it might be useful

  • With the latest Firefox, I get errors on Tumblr and Flash blocking drive almost everytime I watch a video on Tumblr.

    This has been driving me crazy for days now. I've updated to the latest version of Firefox, but whenever I go to a Web page on Tumblr, (my dashboard, my personal blog, blog of someone else) I'm bombarded with error messages saying too "recursion." I get usually anywhere from 3 to 5 messages per page. I went back to 34 Firefox and can now access Tumblr very well, but then I am faced with a different problem. When you watch videos or the vines on Tumblr, they can spontaneously trolling, jigging or stop playing. If I try to resume them, then they might start to play but all the sound elements will be cut. This seems to cause some sort of problem with Flash Player, because after what happens on Tumblr, and then it will happen on ANY video game site that I visit. If I try to watch a video on Youtube, the video will be spasm for a few seconds and then go on static and say "an error has occurred, please try again later." I tested it on other video sites like Blip, and they also cause audio and video bugs. Even if I close Firefox and start it again, the problem will not be solved. The only way I found for fixing injuries is manually reinstall Flash Player (which forces me to reset Firefox anyway). This was a great nuisance, as I had to reinstall the Flash Player and reset Firefox about five times every day for the last week or two. This leads me to consider dumping Firefox for Chrome, and I don't want to do that.

    Adobe Flash plugin has crashed - avoid that it happen

    It is also possible to watch videos in the HTML5 video player, if you turn off the Flash.

  • Browsers Internet responded almost everytime I click.

    There is also a popup that asks me if I want to leave the script that runs (I have no idea what it is) and if I have not the system sometimes unresponsive.

    It works very slowly - as in RTC - or not at all.
    Main offender is Facebook - or maybe it's just the program I want to work!
    Microsoft did a scan for malware and none does. Thanks for your advice!

    Hello

     
    1. have you made changes on the computer before this problem?
    2. the issue is not confined with Facebook?
    3. what version of Internet explore is installed on your computer?
     
     
    I suggest you try the steps in the following link and check if it solves the problem:
    Error message: "a script on this page slows down Internet Explorer runs slowly.

    To do: Important this section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/)

    How to back up and restore the registry in Windows

    I hope this helps!

  • Almost everytime I try to open a program in CC it asks to connect.

    Aggravating circumstances.

    Hi Bicyle,

    Welcome to the Adobe Forum,

    If the problem is recurring, I would advice you contact the Support from Adobe at http://adobe.ly/yxj0t6.

    Kind regards

    Baudier

  • My memory of the iphone is always full

    my iphone keeps showing memory full message. Most of the time I am unable to take pictures or videos.

    I contacted apple to many times, but they never understood what the problem is.

    I even got a new iphone but still facing same problems.

    I did a reset several times and returned the unit to the factory settings.

    at the beginning I used the backup restore from Itunes, then Icloud and still problem is not going away.

    so I did a reset and deleted everything and doesn't not restore from a backup, but after a few days the memory gets again.

    at the first I get about 4 GB or more of free space then it tends to zero.

    The only thing that I guess this backup uses icloud is whatsapp - very important for me I can't remove it.

    flactuations i noticed in the available memory. FB and snapchat sometimes eats storage.

    What do you think I should do now? Other than to do a restore full every week or almost...

    It's frustrating and Im thinking to move towards samsung

    What memory size do you have? You never mentioned.

  • Games full screen is being kept to a minimum when I open them.

    When I try to open a game in full screen, it becomes almost immediately downplayed. This does not happen at the games, I play in windowed mode, like WoW, but games such as Warcraft 3, Age of Empires and the Fable are all affected. I tried to close all other programs running and windows I had running and even turned off my internet connection for a while. I can't get into the game menu to access video options because it minimizes it, after that I restored windows. When the windows are reduced, there is nothing else open on my desk; no error message, no pop-up ads.

    Hi Tonyp89 ,

    Welcome to Microsoft Answers Forum.

    Did you manage to play them earlier?

    Make any change to the system recently?

    Press alt + enter to move the game in full screen. Still no help?

    Then follow the steps below.

    Step 1: Configure the following parameter.

    (1) right click on the shortcut of the games icon.

    (2) on the shortcut tab, go to run .

    (3) in the drop-down list, select expand .

    4) click apply to apply the setting.

    5) click Ok to confirm the change.

    Check if that helps.

    If this is not the case, try to change the resolution of the screen.

    Step 2: change the screen resolution

    To do so,

    1. open display settings by clicking the Start button , by clicking on Control Panel , appearance and personalization , personalization , and then clicking display settings .

    2. pursuant to the resolution , move the slider to the desired resolution, then click apply .

    For more information, see

    Change the screen resolution

    http://Windows.Microsoft.com/en-us/Windows-Vista/change-screen-resolution

    This should help you to play these games in full screen.

    Kind regards

    Shinmila H - Microsoft Support

    Visit our Microsoft answers feedback Forum and let us know what you think

  • Almost every time that I do a right-click to display a menu to do something such as delete or copy, the following error message appears: program internal error:.\Src\IntegrationToolsHolder.cpp,21

    Original title: internal program Errror

    I use XP Professional 32-bit.

    Almost every time that I do a right-click to display a menu of something for example delete or copy, you receive the following error message.

    Program internal error:.\Src\IntegrationToolsHolder.cpp,21
    If I click OK on the error message, it goes & I can then right click New & the appropriate menu appears and works correctly.
    Any ideas, please, as to what is the cause?
    Kind regards

    I told you I want to talk to you soon as you try these things.

    How to boot in Safe Mode and Clean worked for you?  Not at all useful?

    You said about this 2 weeks ago?

    Yet once, I fell in this place and the time and effort wasted because MS Answers forums invite to no system information when a new question is asked - but I digress.

    Update of security 908513 is included in Service Pack 3 update.

    Since forums MS Answers asks you any information from system when a new question is asked, we don't even know what Service Pack you have.  If you have SP3, you already have the update.  Two weeks and we don't know what is your Service Pack, what is your antivirus/antimalware environment...  We know that you have XP Pro 32-bit however.

    What you're likely to have is an extension of the Explorer Shell with a malfunction, and you can usually understand as follows:

    When the Windows Explorer (not Internet Explorer) is wrong (especially when right click), begin to suspect third-party add-ons explore extension.

    Those who would be the Explorer extensions that do not belong to Microsoft.  This means that extensions that you have added.  Solution Explorer extensions are generally well and installation of certain applications will install extensions from Explorer solutions for you, give you a choice and sometimes they can be added without your knowledge when you install the new software.

    Solution Explorer extensions are sometimes added as a new right-click option, you see on folders and files (like the scan of this file, open that file, play this song).

    If there is something in particular that you do during exploration that you know will be the cause of the problem, which will help focus on the problem and the help that you suddenly know, when you have found and corrected.  If you can get there when you want it, make an adjustment and then there is no message the next time you don't do anything, you do, you have found and corrected.

    If you can really achieve almost everytime you do a right-click and choose something like delete or copy, you're well on your way to understand.

    First of all you need a way to see what modules explore you have installed now and a way to turn them off (not uninstall them) so you can understand that we are at the origin of the problem.  You can have a lot of extensions not installed Microsoft don't even know you about.

    Download ShellExView here to see what Explorer extensions you have loaded:

    http://www.NirSoft.NET/utils/shexview.html

    ShellExView does not install anything on your computer, simply of runs and displays.

    After launching ShellExView, under Options, choose "Mark non-Microsoft Extensions" and extensions not Microsoft will be pink, clear, but on some systems which is a difficult color to see, so click on display, choose the columns and move the column Microsoft closer to the top, so you can see on your screen without having to scroll left and right.

    Click on the column header for Microsoft sort display (by clicking on the column of Microsoft) then all the non Microsoft extensions are on top and easy to see.

    Non-Microsoft extensions would be things you have added (non-Microsoft) and are what you should be suspect.

    You can also Google the name of a suspect add-on and see if there is any success about the errors with the extension and to what other people have done on it... Maybe just to get an update of the program that adds the suspicious extension.

    You can Google something like:

    Explorer XP crashing

    (you must complete your suspect on behalf of add on)

    See what kind of search results hits you get and are looking for solutions or situations that sound like yours.

    I'm not a defender of trial and error, but I can't think of another way to do...

    Right click and disable the extensions one at a time non-Microsoft keep a list so you can enable them again later if you wish. The result of the change is immediate and no reboot is necessary.  Test your failure condition.

    If you recognize all the extensions that have been added or recently downloaded, start with these first.

    Disabling the extension does not uninstall the extension - it is just disabled.

    Disable them one at a time until your right click on do not generate an error, then restart and test again.  You have disabled the last extension would be suspicious.

    You can also just disable all non-Microsoft extensions, restart and allow them one at a time until you find the one that generates the condition.

    The hope is that you will find an extension that caused the error, and then you can figure out what on this subject - either uninstall it or see if you can get an update of the author of the extension of their web page.

    I have not your problem, but I can when you toggle extensions, the extension is immediately turned off, to disable an extension does not require a restart, but if you find the problem, I reboot and retest in all cases to be sure that the problem has disappeared.

    If you post your non-Microsoft extensions list, maybe someone will recognize it as a potential problem.

    If you find the offending extension that's the problem, please let us know what it is that I can add to my list.

  • MacBook runs very slowly, Rainbow pinwheel all the time

    A few weeks ago my Safari began to act and to quit almost immediately when I opened it, I so reset my laptop full and cleaned then reinstalled the latest OS X. It worked after that and I can open and use it, but now I started to do the rainbow reel almost everytime I try to do anything, even typing the reel has revealed about 30 times.

    In order to clarify the roulette is shown all the time even outside of Safari, when I click, I type, when I open applications, etc..

    Use the etrecheck to etrecheck.com and to see which are running on your Mac.

  • Server not available appears when I try to go online

    Server not available appears almost everytime I try to log in online. Mozilla is my default. After the reboot sometimes two or three times Mozilla happens.

    One possible cause is security software (firewall) that blocks or limits Firefox or plugin-container process without informing you, possibly after the detection of changes (update) for the Firefox program.

    Delete all rules for Firefox in the list of permissions in the firewall and leave your firewall again ask permission to get full unlimited access to the internet for Firefox and the plugin-container and the update process.

    See:

  • Portege-Z20t-B-10 c-SE - question of material specification

    Hello, after using the Lenovo x61t for more than 7 years, it's time to find a new.

    The z20t seems to be the only one that fits my needs:
    * convertible
    track stick
    * at least full-screen HD (and not a mirror!)
    * VGA
    * native (!) Ethernet

    The only drawback is the small ssd (max. 256) and this is only HDMI 1.4, no 2.0 (CPU throttling) or Display Port for 4k@60Hz

    Then, I stumbled upon a Z20t-B-10 c-SE with a 500 GB SSD! Is this true or a fake? Yesterday, it was listed with 16 GB of RAM, today with only 8 GB of RAM.

    If I'm allowed to dream, I would add these to the z20T:
    (* the third mouse button for the score for the scroll button (this is something that I use almost everytime))
    * Maybe put 16 GB of RAM of the laptop
    * 2.0 HDMI or Displayport - this is itself resolved via an upgrade to Skylake which provides HDMI 2.0
    * Having PCe-Lanes (it would be enough) in the dock connector

    The last of them allows to have several variants of keyboard:
    * one that is offered today
    * one with a slot ExpressCard (player additional cards, several USB ports, TV cards, special Internet cards, etc. data acquisition interface cards)
    * one with an ExpressCard slot & second SSD/HDD bay (for example a "cheap & really big HARD drive")

    Extra, a 'small & tiny' each gramm is important to people for whom might be nice (I'd rather the 'standard' that comes with the lot on z20t lowercase which comes with many other paintings)

    Who are my thoughts.

    "Dreams" sounds good

    -Mouse extra 3rd button... Well I never demanded this button on my touchpad... so this button would be useless for me...

    -16 GB of RAM... certainly big YES... but unfortunately this Portege Z20t - B - 10 c supports max 8 GB RAM... This limitation appears because of the chipset/CPU

    -Espress Card slot is can be a feature of nice to have, but I think that this kind of interface is already more or less declining...

Maybe you are looking for

  • Are there any available for the Mac Pro 2013 SSD expansion?

    Are there any available for the Mac Pro 2013 SSD expansion? I would like to increase my 1 or 2 GB of storage internal if possible.

  • Toggle 3G / 4G

    So it seems from the JB update I can no longer switch between LTE/CDMA. How can I turn off the 4G and just use 3G? 4G is empty my bad battery and I can't find an application in the game store that does this. Ideas? Thank you!

  • Problem with Listen.vi Linux TCP

    I have a Linux machine that is configured with two IPS (192.168.0.X), with a physical ethernet taken.  When you run a program on it (using Listen.vi TCP) to connect ethernet to a remote computer, it works fine.  If the program is re-entrant, and I ha

  • Windows Update KB980248... prevents the connection from the system administrator

    I installed a Windows Update last night (KB980248).  After the reboot, I could not identify you.  He did not reject my password, but nothing happened after that I entered.  I tried going to user Accts in Control Panel to make changes, but it requires

  • CLI.exe-application error

    I get a message error every time I start up Windows: CLI.exe-application error If I click 'OK', he goes, but I want to get rid of the rootcause. The error message is still there on the office at startup