Can I expand the interval between collection of Garbage

Hello friends!! please help me with my troubles
I have used JDK1.4.0 and I am making a prototyping-tool
for embedded control software.
I got to know that the Garbage collection is a bottleneck
of my software. it collects garbages very often. Therefore, I hope to make
the collection-interval longer than before.
For studies about Garbage Collection , I got to know there are two spaces for
collecting garbages, they are Young Generation and Old Generation.
I guess the reason of very often collection in my software is related to young generation but not old generation.
Even if I take more memory with using -Xms -Xmx, I got to know it just takes up
spaces for Old Generation but not that for Young generation.
Please let me know how I can take more memory for Young Generation and
make the collection interval longer than before?

The garbage collector is supposed to do its work when the JVM is otherwise not very busy when possible. Now, it's certainly possible you're seeing JVM bugs and this isn't what's happening. Are you using some sort of profiler tool that shows you that processing is waiting for garbage collection to finish? In other words, how do you know that GC is the bottleneck? Just because it's happening "often" (whatever that means) doesn't mean that's the problem.

Similar Messages

  • How can I expand the gutters in a document created with a Pages brochure template?

    How can  I expand the gutters/ space between panels on a document created with a Pages brochure template?

    You haven't said which.
    Each panel is usually just a locked object, unlock them and resize the boxes.
    Peter

  • How can I delete the photos in Collections/moments?

    How can I delete the photos in Collections/moments? I have set icloud photo settings to none, and delete all my photos in album, but I'm still getting 5.6 G of photos!

    help!

  • In ical, how can you tell the difference between a meeting invite and email?

    When you send a meeting invite in ical, does the recipient receive a different icon in their inbox to differentiate from an email?

    For service stock you can't tell the difference between a new iPad and a refurbished one. Both will come in a plain brown box with the same pattern in model numbers. If you mean between a refurbished one and one new at retail, then other than the obvious difference in packaging, I've read that the model number on refurbished units starts with the letter "F", though I've not confirmed that.
    Regards.

  • Where can I find the relation between company code and plant?

    where can I find the relation between company code and plant?
    I need to the list of plants under a company code.
    Which table?

    yes,wayne weng   .What you said is right.
    Thank you very much!
    My MSN:[email protected]

  • Where can I get the realtion  between Tcode ,idoctype and message type??

    Hello ,
    I would like to know the relation between Transaction code,idoc type and Message type.
    In which table I can find or which Transatcion I can get all these information..?
    Relation with Transaction code is must where can i find....??
    Please help me in this....
    Thanks in Advance
    Regards
    Preethi

    Hello ,
        It was very helpful answer.....
        But I want the relation with Transaction code....How can I find the realtion between Tcode and Idoc type or Tcode and message type...??
    Please let me know this...
    Thanks in advance..
    Regards
    Preethi

  • How can I adjust the space between the dividing line of the footnotes and the continuous text?

    How can I adjust the space between the dividing line of the footnotes and the continuous text?

    I want to extend the space so the dividing line does not stuck to the normal (continuous) text in my thesis. Do you have a solution? That would be perfect. Thanks a lot!

  • Can i expand the processor of mac pro w/ an acceleration card?

    Can i expand the processor of mac pro w/ an acceleration card?
    If yes, what is compatible w' mac pro (2007) duo dual core?
    Thanks

    Are you certain your work is compute-bound?
    Insufficient RAM memory or too much competition for too few drives causes a system to have unused processor power, but complete the work too slowly.

  • How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    How can I change the space between a checkbox and text all at one time? I have a lot of checkboxes in my form.

    Okay, I haven't found a way to add an extra space using Find/replace, but you might be able to add some text wrap to the check boxes that will push the text away from them.
    Open Find/Replace and click the Object tab.
    Click the Specify attributes to find button to the right of the Find Object Format: field.
    Under Basic Attributes, choose Stroke and then the Black swatch (assuming the black swatch is applied to the strokes of your check boxes). If there are no other stand-alone objects in your form with a Black stroke, this should be all you need. (If there are Black strokes on your table cells, they will be ignored.)
    Click OK
    Click the Specify attributes to change button to the right of the Change Object Format: field.
    Under Basic Attributes, choose Text Wrap & Other > Text Wrap > Type: > Wrap around bounding box (2nd button from left)
    Under Offset, set a Right offset at the distance you'd like to add (I don't know what units you use, but the 3-5 points might work for your purposes...might take some trial-and-error to get it where you want)
    Click OK
    Click Change All

  • Can we hide the lines between the columns and rows of an alv in wd abap

    HI all ,
      I know that we can colour cell/column/row in an alv in wd abap.
       but, can we hide the lines between the columns and rows of an alv in wd abap.
         i have checked this link [hiding lines b/n rows and columns of an  alv|http://help.sap.com/saphelp_nw04/helpdata/en/91/e7eb40c4f8712ae10000000a155106/content.htm]
         but didn't  understand, can please anybody provide some example or any material..? it will be very helpful.
                                                                         THANK  YOU.
    Edited by: arfat111 on Feb 15, 2010 7:05 AM

    Code some like this in the WDDOINIT method of your view which defines the ALV component as used component.
    instansiate the ALV component
    data lo_cmp_usage type ref to if_wd_component_usage.
    lo_cmp_usage = wd_this->wd_cpuse_usage_alv().
    if lo_cmp_usage->has_active_component() is initial.
       lo_cmp_usage->create_component().
    endif.
    data lo_interfacecontroller type ref to iwci_salv_wd_table.
    lo_interfacecontroller = wd_this->wd_cpifc_usage_alv().
    data lo_value type ref to cl_salv_wd_config_table.
    lo_value = lo_interfacecontroller->get_model().
    hide the grid lines
    lo_value->if_salv_wd_table_settings~SET_GRID_MODE( value = '01' ).
    Thanks,
    Abhishek

  • Can anyone tell the difference between USB 3.0 and 2.0?

    I have both a 8GB flashdrive 3.0 and 2.0. I got the 3.0 at office depot for $8.00 and 2.0 for the same price at best buy. I honestly can't tell the difference between the two. They both seem to be the same in speed. Is there really a difference?

    This is an interesting subject, I just recalled a MacWorld podcast I was listening to when the 3.0s were first hitting the market. A guest on the podcast was saying to think of it like a 'bottle neck' not so much as speed. With the 3.0 you can push more information through at any one time. So in the case of the hd movie senario, if you had multiple movies transfering at one time the 3.0 would be a lot faster than a 2.0.

  • How can you tell the difference between ipad 2 and ipad 3 ?

    I need to know how can you tell the defferance between the Ipad 2 and Ipad 3 by just looking at it ?

    Well it hard to tell if you don't have the two side by side and compair it to...

  • Can someone explain the difference between width, maxWidth, explicitWidth, explicitMaxWidth?

    Can someone explain the difference between width, maxWidth,  explicitWidth, explicitMaxWidth of the UI component? I read the API and I  have no idea what do they mean.

    Width is the current width.  ExplicitWidth is set if you give an component
    an explicit width vs a temporary width via setActualSize.
    MaxWidth and minWidth factor in either the measuredMax/MinWidth or one set
    explicitly.

  • Hi, can anyone explain the difference between the models A1457 and ME432B/A of the iPone 5s. Thanks

    Hi, can anyone explain the difference between the models A1457 and ME432B/A of the iPone 5s.

    Hi Gary,
    Model # A1457 designates that it's the European market model, which I believe works on EE, Vodafone and O2 in the UK.
    ME432B/A is the part # that, in your case, I believe, desginates a 16GB Space Grey Unlocked version...
    Someone can correct me if I'm wrong on that
    Kev

  • Can we have the interface between microsoft excel and adobe illustrator

    Can we have the interface between microsoft excel and adobe illustrator?

    Feature Request/Bug Report Form
    That aside, have you actually already explored variables or the graph tools?
    Mylenium

Maybe you are looking for

  • Acrobat Pro Multiple form question

    I am creating a form in Acrobat Pro to be distributed and tracked throught the response tracker. The form that I am doing would have 6 sets of the same form fields for different entries into the tracker. Does anyone know how I can do this so each ent

  • How do I get the original .ipa?

    I think I did something stupid, as I am known to do from time to time. I removed an .ipa file from my iTunes Media folder awhile ago, thinking it would delete the app. I guess I forgot and didn't pay attention and have been my merry way. Today I'm bo

  • Start Routine - Do not load data that doesnt exist in ODS

    Hello Gurus! I am loading between two cubes. I only want to load products that exist in a seperate ods. Can someone help me out with the code for this? NB I am using 3.5

  • Overwrite in Application server

    hi all, i need to send the output to application server, the data was going perfectly but the problem is ,the report if we run twice the output should not overwrite with the first executed run in app server. if we run run more than once also it shoud

  • Dreamweaver 8 Off Topic Problem

    I am looking for some help with an ASP form page in Dreamweaver to create an invoice in QuickBooks Enterprise 2007 using an ODBC connection. I can already create a new custoemr and edit that customer. But I need to create and modify invoices to Quick