Garbage Collection Issue for Tree Component

Dear:
When I created a new Tree instance dynamically by following code, and clicked any tree node randomly and then I removed it via another button, but I found this instance couldn’t be removed by GC, if I just created this tree without mouse action, it can be removed by GC.
Tree Component:
-- TreeView
<mx:canvas>
<mx:Tree dataProvider="{data}"  />   // data is a XML staments
</mx:canvas>
Create Tree:
           public function createView(event:Event):void{
              var view:TreeView = new TreeView ();
              view.name="myTree";
              addChild(view);
              view=null;
Remove Tree:
           public function deleteView(event:Event):void{
              var view:TreeView= TreeView( _con.getChildByName("myTree"));
              removeChild(view);
Could someone give me some suggestion?
Thanks a lot

Hi ajmcfarlane,
This is my first post here. I'm fairly new to AS3 still and
have been getting my education from a number of places. The best
education i have found is from the book located at
http://www.learningactionscript3.com/
Rich Shupe address this problem of removing the child from
memory. I Downloaded your file and found 2 problems and resolved
one of them. By now you might have already solved this anyway.
To remove the child from the Display List use -->
removeChild(myChildObject);
To remove the object from memory use --> myChildObject =
null;
You did these two steps but in the incorrect order, just by
moving the 'myChildObject = null' under the removeChild code makes
it work.
I found running a few trace statements after fixing the first
problem, i found the second problem. The error of trying to remove
a child when it is no longer there.
You just need to rework the design so that the order of
events fires as you want. Below is the traces i used and the output
that is received.
function Click1(e:MouseEvent){
trace("four ", loadedcontent);
modLoader.unload();
modLoader = null;
function unloadCompleteHandler(event:Event):void{
trace("one ", loadedcontent);
removeChild(loadedcontent);
trace("two ", loadedcontent);
loadedcontent = null;
trace("three ", loadedcontent);
output
Loaded mem: 20668 KB
four [object MainTimeline]
one [object MainTimeline]
two [object MainTimeline]
three null
unLoaded mem: 23352 KB
So you can see the click event is firing of the unload first,
when i think you want that last.
I hope this has been of some help :)

Similar Messages

  • Full garbage collection issue, not releasing/flagging memory

    I have the following problem running on a multi-cpu windows server with Java 1.4.2_05 using WebLogic 8.1:
    During a lifecyle of the web application (under load, but not to heavy) memory usage seems ok and garbage collection is called regularly. Suddenly, the used heap starts to rize very fast and after a while, even a full garbage collection cylce, does not release any memory anymore.
    I am sure that, from our coding, we release memory ok, and normally we should only use about 5 to 10 mb for each user max (with0 normal defnew garbage collections).
    I tried changing the garbage collection parameters, but this does not solve the problem. Best scenario was with the concurrent collector and I got this output at +/- the end:
    [GC 100202K->93511K(115628K), 0.0091472 secs]
    [GC 148480K->139612K(163808K), 0.0225914 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor289]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor290]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor273]
    153750K->133006K(164064K), 1.2434402 secs]
    [GC 148939K->137948K(203264K), 0.0223085 secs]
    [GC 188789K->177116K(203264K), 0.0180729 secs]
    [Full GC[Unloading class sun.reflect.GeneratedSerializationConstructorAccessor312]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor322]
    [Unloading class sun.reflect.GeneratedSerializationConstructorAccessor309]
    189788K->170264K(203264K), 1.1851945 secs]
    [Full GC 203228K->203227K(203264K), 1.2876122 secs]
    [Full GC 203263K->203233K(203264K), 1.3354548 secs]
    [Full GC 203263K->203258K(203264K), 1.2873518 secs]
    <Jan 17, 2007 9:40:40 AM EST> <Error> <HTTP> <BEA-101017> <[ServletContext(id=33114655,name=console,context-path=/console)] Root cause of ServletException.
    java.lang.OutOfMemoryError
    >
    [Full GC 203263K->203233K(203264K), 1.2814516 secs]
    [Full GC 203233K->203231K(203264K), 1.6029044 secs]
    [Full GC 203263K->203242K(203264K), 1.3081352 secs]
    <Jan 17, 2007 9:41:51 AM EST> <Emergency> <WebLogicServer> <BEA-000210> <The WebLogic Server is no longer listening for connections.>
    [Full GC 203263K->203247K(203264K), 1.3161194 secs]
    [Full GC 203263K->203249K(203264K), 1.2954988 secs]
    [Full GC 203263K->203247K(203264K), 1.6423404 secs]
    <Jan 17, 2007 9:41:57 AM EST> <Alert> <WebLogicServer> <BEA-000218> <Server shutdown has been requested by <WLS Kernel>>
    [Full GC 203263K->203250K(203264K), 1.3161025 secs]
    Another strange item is: I maximized the amount of memory it uses to 512m with the Xmx parameter, I am almost sure that that one is used, but it never gets higher than 203M? Does anyone know why this is?
    Another strange item: the monitoring in the weblogic code indicates 32MB of usage (relative memory usage seems to be ok, but the quanity indication is just plain wrong) with 15 threads running.
    This problem does not exist when using JBoss 4.0.2 or 4.0.3 (standard j2ee settings).
    If anyone has an idea or can help me, I would appreciate it very very much. :)

    Hi ,
    Is this issue resolved ?
    we are facing same problem.
    1. We have checked the CPU and memory utilization everything is normal
    2. GC logs showing FULL GC calls continuously
    3. After restart the resin server system is working normally.
    Environment detail
    Resin ./resin-pro-3.0.18 on suse Linux
    Java JDK1.4.2_08
    Please suggest

  • Label display issue in Tree component when it is having vertical scrollbar

    I am using tree component as dropdown factory for combo box. When i open dropdown, it doesn't have vertical scrollbar and all the root nodes are getting displayed correctly(in closed mode). Now if i try to open any node, i am getting vertical scrollbar as the child nodes are more. Now the problem is if scroll down, some of the nodes(labels) are not getting displayed but i am able to see the icon. If i keep on scrolling bottom to top and top to bottom, some of the nodes are showing labels and some are not(It is inconsistant).
    I have not used any custom item renderer for tree control. I used my custom dataDescriptor which i have implemented from ITreeDataDescriptor. Also I tried extending DefalutDataDescriptor, but no luck.

    Does it work if the tree is not in a combobox?

  • Horizontal scroll for Tree component scrolls too far right

    I've enabled the horizontal scroll bar for the Tree component.
    But the scroll bar allows the user to scroll very far to the right into blank space.
    The maximum width of my components measures 124px, as calculated by measureWidthOfItems(0,0), and I've verified this by measuring pixels of a screen shot.
    I have tried adding an event to set the Tree.maxHorizontalScrollPosition, and I traced the value that I'm setting it to, and I also traced the value that it actually assumed after I set it. Both are 124px.
    So I can't understand the behavior. I can scroll something more like ~400px to the right with lots of blank space.
    Any ideas why?
    Thanks,
    David

    Hmm, I'm not sure why this works, but it works, so for completeness here's what I did (in case anyone else runs across this same thread):
    var measWidth:Number = myTree.measureWidthOfItems(0,0);
    filesTree.maxHorizontalScrollPosition = measWidth - myTree.width;
    I call the above code whenever the window is resized (in my app there are 2 places that can cause a resize of the window, I manually added calls to a function with the above code). There is also an example out there that resizes any time the window is resized, but if you do this then you really can't have liveDragging=true in a DividedBox (which I have) because the cost of resizing is very high and overtaxes the cpu when called many times consecutively. I just call it when the dragging is finished (that way I have live dragging enabled, but it only updates the scroll bars when the user stops dragging, which is visually acceptable).

  • Save last selected and state for Tree Component?

    I have a Tree component that refreshes its data everytime I
    open the Tab containing it (doing a SQL call to return an index of
    models). The problem is that everytime the dataProvider changes (a
    new one overwrites the old one) with databinding, even if the data
    is exactly the same, it loses its old state and selected node. Is
    there any way to save this state/selected node when the
    dataProvider updates?

    good article on all aspects of trees including your issue.
    http://www.adobe.com/devnet/flex/quickstart/working_with_tree/

  • 2 Line Text for Tree Component

    Hi
    I am trying to use a tree component for a Course navigation ,
    and I have a Node names Getting clipped and I wanted to have
    mulitple lines in the tree node, I would appreciate if anyone could
    help me in how the tree component can be extended to accomodate
    this requirement.
    Thanks
    Sembian

    Hi Begum,
    There are few default attributes you need to fill in your data structure,
    PARENT_KEY - Parent (in your ex : header1, header2)
    ROW_KEY -  Children (col1, col2, col3, col4...)
    EXPANDED
    IS_LEAF -
    TEXT
    CHILDREN_LOADED
    IMAGE_SRC
    Include these fields with same name in your structure(structure of the table filling CT_DATA in GET_DATA method)  and fill the relevant data, output will be displayed.
    Cheers,
    Vemula.

  • Garbage collection issue as3

    Having real problems with garbage collection in as3
    Currently working on a project that is using a main movie
    clip to load other movie clips dynamicly, using loadURL.these sub
    movieclips are rather heavy in size, and function as standalone
    modules.
    Our problem is that when we removeChild of the sub clips it
    is still present in memory (which from what I have read is normal
    untill garbage collection cycle is fired) however it doesn't seem
    to ever get removed.
    how can we safely load movieclips and remove all references
    to them to make them eligible for garbage collection? current
    approach we are using is to publicly state the loader the say new
    loader() in an attempt to recycle rather that to try to send for
    garbage collection

    Hi ajmcfarlane,
    This is my first post here. I'm fairly new to AS3 still and
    have been getting my education from a number of places. The best
    education i have found is from the book located at
    http://www.learningactionscript3.com/
    Rich Shupe address this problem of removing the child from
    memory. I Downloaded your file and found 2 problems and resolved
    one of them. By now you might have already solved this anyway.
    To remove the child from the Display List use -->
    removeChild(myChildObject);
    To remove the object from memory use --> myChildObject =
    null;
    You did these two steps but in the incorrect order, just by
    moving the 'myChildObject = null' under the removeChild code makes
    it work.
    I found running a few trace statements after fixing the first
    problem, i found the second problem. The error of trying to remove
    a child when it is no longer there.
    You just need to rework the design so that the order of
    events fires as you want. Below is the traces i used and the output
    that is received.
    function Click1(e:MouseEvent){
    trace("four ", loadedcontent);
    modLoader.unload();
    modLoader = null;
    function unloadCompleteHandler(event:Event):void{
    trace("one ", loadedcontent);
    removeChild(loadedcontent);
    trace("two ", loadedcontent);
    loadedcontent = null;
    trace("three ", loadedcontent);
    output
    Loaded mem: 20668 KB
    four [object MainTimeline]
    one [object MainTimeline]
    two [object MainTimeline]
    three null
    unLoaded mem: 23352 KB
    So you can see the click event is firing of the unload first,
    when i think you want that last.
    I hope this has been of some help :)

  • Code for Tree component(tomahawk )

    I am new to JSF,I want a tree component in my page and i want to construct the tree by retriving data from database.I searched most of materials but could'nt find any good one.

    How would it match the trees? What have you done so far?
    /Kaj

  • GI(Goods Issue) for serialized component in mfbf transaction

    In transaction MFBF when we press save after entering planned order and backfluish quantity it asks for serial numbers for the main component but if there are serialized componets in compoents tab it throws error on saving ,the requirement form my customer is like that if there is a serialized component in component list its pop up should come and asking for serial numbers and its GI should happen

    hi santhosh
    kindly check the order type .i think you are using MB1A for refurbishment process.but it is not possible.only maintenance order can be posted via MB1A
    follow the procedure for goods issue in refurbishment order.
    Choose Logistics ® Plant maintenance ® Maintenance processing ® Completion confirmation ® Goods movement ® Goods movement.
    The entry screen for a goods issue appears.
    Choose the pushbutton For order.
    Enter the relevant order number in the dialog box and choose Continue.
    An entry screen appears.
    Choose Copy.
    The Maintain Serial Numbers dialog box appears.
    Choose Reference document.
    Enter the order number in the Refurbishment order group box and choose Execute.
    A list appears with the planned serial numbers for the refurbishment order.
    Check the selections of serial numbers, for whose material you want to post a goods issue, and choose Copy.
    The serial numbers are copied into the Maintain Serial Numbers dialog box.
    Choose Exit window.
    The goods issue is posted.
    regards
    thyagarajan

  • Data Binding for Tree Component

    Hi ,
    I have to make a tree structure and bind it to a column in a table,
    which when expanded should list the rows of the table for the selected column as individual sub nodes of the tree.
    So far I am not able to get that done.
    Any suggestions how to do it?

    If find what I need among ADF Faces Core component, ... the ADF TreeTable (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/imageIndex.html).
    Unfortunetly It seems quite dificult to integrate ADF or any other 3rd part component with JSC2.

  • Frequent Garbage Collection Issues

    Hi,
    I am using Weblogic 8.1 SP6. Recently we have increase in the traffic and as a result I have seen this pattern w.r.t GC.
    While using the monitoring tab of the weblogic console I have seen that at a regular interval of about 20 secs there is a forced GC from JVM and causing the app to not respond for about 5-6 secs. We thought that some of the JVM parameters were not set properly and we raised the parameters.
    It worked fine, it is started doing every 1 minute instead of 20 secs. Is there any way we can check if any java objects are not removed from JVM heap or if there are some other configurations we need to check about the system?
    John

    Regarding objects in the Java heap that are not properly being collected, look
    at the trouble shooting guide under memory leaks.
    http://java.sun.com/javase/6/webnotes/trouble/index.html

  • Garbage Collection issue

    We have a high volume application that processes around 1mil messages (avg size of messsage is 4K). The processing done by mostly short-lived objects. We cleanup those objects as soon as we are done with them by setting to null.
    Incremental GC's run initially and seems to be reclaiming the total space. After a while, FULL GC kicks in , taking lot of time to run , pausing main application threads. At some point, application runs out of memory.
    Application is running on sun sparc 12 cpu machine with 4G of memory.
    Here are the JVM options used:
    java -server -Xnoclassgc -XX:+UseParallelGC -verbose:gc -ms512m -mx2048m
    Here is the snapshot GC console output:
    [GC 1037106K->934696K(1323992K), 0.8224376 secs]
    [GC 1073960K->972315K(1323992K), 0.8492167 secs]
    [GC 1111579K->1009308K(1323992K), 0.9097631 secs]
    [GC 1148572K->1046394K(1323992K), 0.8439699 secs]
    [GC 1185658K->1084905K(1323992K), 0.8705303 secs]
    [GC 1224168K->1122494K(1323992K), 0.8552342 secs]
    [GC 1261758K->1159081K(1323992K), 0.8970201 secs]
    [GC 1298343K->1195721K(1335000K), 1.1827162 secs]
    [Full GC 1195721K->989634K(1335000K), 24.3578172 secs]
    [GC 1184065K->1044938K(1849840K), 0.9831921 secs]
    [GC 1239366K->1096178K(1849840K), 0.9747165 secs]
    [GC 1290609K->1147124K(1849840K), 0.9470200 secs]
    [GC 1341556K->1199331K(1849840K), 1.0176226 secs]
    [GC 1393763K->1251271K(1849840K), 1.1659994 secs]
    [GC 1445703K->1303021K(1849840K), 1.1822156 secs]
    [GC 1497453K->1355071K(1849840K), 1.1616752 secs]
    [GC 1549502K->1406485K(1849840K), 1.3026876 secs]
    [GC 1600914K->1458371K(1849840K), 1.1999966 secs]
    [GC 1652803K->1508827K(1849840K), 1.1635613 secs]
    [GC 1703259K->1559797K(1849840K), 1.1399380 secs]
    [GC 1754229K->1608405K(1849840K), 1.1470171 secs]
    [Full GC 1195721K->989634K(1335000K), 24.3578172 secs]
    [GC 1184065K->1044938K(1849840K), 0.9831921 secs]
    [GC 1239366K->1096178K(1849840K), 0.9747165 secs]
    [GC 1290609K->1147124K(1849840K), 0.9470200 secs]
    [GC 1341556K->1199331K(1849840K), 1.0176226 secs]
    [GC 1393763K->1251271K(1849840K), 1.1659994 secs]
    [GC 1445703K->1303021K(1849840K), 1.1822156 secs]
    [GC 1497453K->1355071K(1849840K), 1.1616752 secs]
    [GC 1549502K->1406485K(1849840K), 1.3026876 secs]
    [GC 1600914K->1458371K(1849840K), 1.1999966 secs]
    [GC 1652803K->1508827K(1849840K), 1.1635613 secs]
    [GC 1703259K->1559797K(1849840K), 1.1399380 secs]
    [GC 1754229K->1608405K(1849840K), 1.1470171 secs]
    ^[[2~[GC 1802837K->1658413K(1852912K), 1.2599031 secs]
    [Full GC 1658413K->1322684K(1852912K), 31.4556695 secs]
    [GC 1541948K->1382396K(2090304K), 1.0559670 secs]
    [GC 1601659K->1441184K(2090304K), 1.1171899 secs]
    [GC 1660448K->1499921K(2090304K), 1.1041055 secs]
    [GC 1719184K->1560243K(2090304K), 1.1842856 secs]
    [GC 1779504K->1617751K(2090304K), 1.0513258 secs]
    [GC 1837015K->1674981K(2090304K), 1.1666812 secs]
    [Full GC 1894245K->1551657K(2090304K), 37.6117940 secs]
    [GC 1770921K->1613369K(2090304K), 1.0356318 secs]
    [GC 1832632K->1669436K(2090304K), 1.1144191 secs]
    [Full GC 1888700K->1648994K(2090304K), 39.3942882 secs]
    [Full GC 1868258K->1694146K(2090304K), 40.3389419 secs]
    [Full GC 1913410K->1738377K(2090304K), 42.7415051 secs]
    [Full GC 1957638K->1780351K(2090304K), 42.5810629 secs]
    [Full GC 1999615K->1830407K(2090304K), 44.5052564 secs]
    As you could see, Full GC is taking long time.
    Whats the best way to tune JVM in this scenerio ?

    Added your recommended option tags in test server and here is the snapshot of GC activity - as you could see Full GC has not been called at all:
    53897K->353897K(434368K), 0.0779606 secs]
    1727.386: [GC 1727.387: [DefNew: 84800K->84800K(84800K), 0.0000577 secs]1727.387: [CMS: 269254K->268788K(349568K), 11.5143598 secs] 354054K->353588K(434368K), 11.5182741 secs]
    1753.687: [GC 1753.689: [DefNew: 84800K->84800K(84800K), 0.0000447 secs]1753.689: [CMS: 269318K->269318K(349568K), 0.0791392 secs] 354118K->354118K(434368K), 0.0833374 secs]
    1768.458: [GC 1768.459: [DefNew: 84800K->84800K(84800K), 0.0000425 secs]1768.459: [CMS: 269181K->269181K(349568K), 0.1021508 secs] 353981K->353981K(434368K), 0.1057072 secs]
    1783.647: [GC 1783.648: [DefNew: 84800K->84800K(84800K), 0.0000590 secs]1783.649: [CMS: 269330K->268956K(349568K), 11.0677651 secs] 354130K->353756K(434368K), 11.0710862 secs]
    1809.767: [GC 1809.769: [DefNew: 84800K->84800K(84800K), 0.0000575 secs]1809.769: [CMS: 269438K->269042K(349568K), 11.3660772 secs] 354238K->353842K(434368K), 11.3705901 secs]
    1836.227: [GC 1836.231: [DefNew: 84800K->84800K(84800K), 0.0000587 secs]1836.232: [CMS: 269616K->269091K(349568K), 11.3381937 secs] 354416K->353891K(434368K), 11.3452536 secs]
    1861.800: [GC 1861.802: [DefNew: 84800K->84800K(84800K), 0.0000557 secs]1861.802: [CMS: 269409K->269409K(349568K), 0.0788080 secs] 354209K->354209K(434368K), 0.0824389 secs]
    1876.985: [GC 1876.986: [DefNew: 84800K->84800K(84800K), 0.0000517 secs]1876.986: [CMS: 269595K->269595K(349568K), 0.0831590 secs] 354395K->354395K(434368K), 0.0860654 secs]
    1891.873: [GC 1891.874: [DefNew: 84800K->84800K(84800K), 0.0000482 secs]1891.874: [CMS: 269724K->269724K(349568K), 0.0708213 secs] 354524K->354524K(434368K), 0.0736807 secs]
    1906.779: [GC 1906.780: [DefNew: 84800K->84800K(84800K), 0.0000456 secs]1906.780: [CMS: 269933K->269933K(349568K), 0.0755266 secs] 354733K->354733K(434368K), 0.0796340 secs]
    1921.445: [GC 1921.447: [DefNew: 84800K->84800K(84800K), 0.0000448 secs]1921.447: [CMS: 269975K->269975K(349568K), 0.0819310 secs] 354775K->354775K(434368K), 0.0851893 secs]
    1936.274: [GC 1936.276: [DefNew: 84800K->84800K(84800K), 0.0000696 secs]1936.276: [CMS: 269854K->269854K(349568K), 0.0907438 secs] 354654K->354654K(434368K), 0.0950534 secs]
    1950.935: [GC 1950.937: [DefNew: 84800K->84800K(84800K), 0.0000566 secs]1950.937: [CMS: 269775K->269775K(349568K), 0.1000276 secs] 354575K->354575K(434368K), 0.1030710 secs]
    1965.190: [GC 1965.192: [DefNew: 84800K->84800K(84800K), 0.0000839 secs]1965.192: [CMS: 269985K->269544K(349568K), 10.7150874 secs] 354785K->354344K(434368K), 10.7188375 secs]
    1990.031: [GC 1990.033: [DefNew: 84800K->84800K(84800K), 0.0000733 secs]1990.033: [CMS: 270100K->269651K(349568K), 11.2685995 secs] 354900K->354451K(434368K), 11.2728810 secs]
    2016.264: [GC 2016.265: [DefNew: 84800K->84800K(84800K), 0.0000450 secs]2016.265: [CMS: 270106K->270106K(349568K), 0.0698348 secs] 354906K->354906K(434368K), 0.0727872 secs]
    2030.980: [GC 2030.982: [DefNew: 84800K->84800K(84800K), 0.0000954 secs]2030.982: [CMS: 270238K->269788K(349568K), 10.9844057 secs] 355038K->354588K(434368K), 10.9880408 secs]
    2056.197: [GC 2056.199: [DefNew: 84800K->84800K(84800K), 0.0000710 secs]2056.199: [CMS: 270270K->269834K(349568K), 11.2985424 secs] 355070K->354634K(434368K), 11.3019009 secs]
    2081.879: [GC 2081.882: [DefNew: 84800K->84800K(84800K), 0.0000630 secs]2081.882: [CMS: 270160K->270160K(349568K), 0.0996453 secs] 354960K->354960K(434368K), 0.1043853 secs]
    2096.863: [GC 2096.865: [DefNew: 84800K->84800K(84800K), 0.0000719 secs]2096.865: [CMS: 270345K->269982K(349568K), 11.0743990 secs] 355145K->354782K(434368K), 11.0788176 secs]
    2122.374: [GC 2122.375: [DefNew: 84800K->84800K(84800K), 0.0000527 secs]2122.375: [CMS: 270485K->270485K(349568K), 0.0760466 secs] 355285K->355285K(434368K), 0.0793288 secs]
    2136.892: [GC 2136.894: [DefNew: 84800K->84800K(84800K), 0.0000544 secs]2136.894: [CMS: 270570K->270078K(349568K), 10.9475307 secs] 355370K->354878K(434368K), 10.9508848 secs]
    2162.131: [GC 2162.132: [DefNew: 84800K->84800K(84800K), 0.0000566 secs]2162.132: [CMS: 270387K->270387K(349568K), 0.0721499 secs] 355187K->355187K(434368K), 0.0751687 secs]
    2176.539: [GC 2176.540: [DefNew: 84800K->84800K(84800K), 0.0000695 secs]2176.540: [CMS: 270573K->270194K(349568K), 10.8633072 secs] 355373K->354994K(434368K), 10.8664201 secs]
    You think the problem is fixed ?

  • Issue with af:tree component

    Hi All,
    I am using JDev 11.1.1.6
    I am creating a tree component with collection model.I want to provide different action to each node,so I have defined an action attribute in the bean
    which I set in the constructor as shown below
    TestTree node1 = new TestTree("node1", "#{TreeBean.action1}");
    Is this the correct approach..This gives me "method not found " error when I click on the node.
    Below is the code for tree component :
    <af:tree value="#{TreeBean.model}" id="t1" var="node"
    styleClass="AFStretchWidth" inlineStyle="height:600.0px;">
    <f:facet name="nodeStamp">
    <af:commandLink text="#{node.label}" id="cl1" immediate="true"
    actionListener="#{node.action}"/>
    </f:facet>
    <f:facet name="pathStamp"/>
    </af:tree>

    Hi Vinay,
    UseCase :
    I want a tree showing navigation links . these navigation links will be used to open a new page in panelTabbed Layout.

  • UIX Tree Component

    I have an issue with using tree component for our application. We need to provide expand/collapse facility for tree component (using default (+) and (-) icons). Does ADF_UIX support s for this situation. Please provide me any guideline....

    I have an issue with using tree component for our application. We need to provide expand/collapse facility for tree component (using default (+) and (-) icons). Does ADF_UIX support s for this situation. Please provide me any guideline....

  • 11.5.10.2 & Sun T5220 & threads & Java garbage collection...

    We recently upgraded our prod and test servers (middle tier) to Sun T5220's each with 8 procs which have 8 cores per proc. Apache/Java sees that as having 64 CPUs and configures a garbage collection thread for each. Since we have around 10 test and dev instances for the HRMS the apps instances alone, (we also have several Financials instances on the same server), it was kicking off over 640 threads of garbage collection! Needless to say the contention was overloading the server causing major hassles. We have since updated each $CONTEXT_FILE ADJREOPTS and ADJRIOPTS settings to only kick off 2 threads per instance. This has helped, but we still have issues, especially when running adadmin or adpatch and if we give it more than 8 workers. Has anyone else seen this, and if so, have you had any other solution(s)?
    We are also seeing strange behavior with FNDSM. Unlike the production server, which has much less load in some respects, on the test sever, each apps instances instance of FNDSM is restarting several times a day for no apparent reason and leaving many defunct child processes. We do see a slight hangup in the tnsping to the FNDSM_<server> listener every so often, but never anything long enough that it should be an issue. We also have multiple NICs on the box, but again, that has never been an issue before.
    Anyone else out there using Suns T5220s? Anyone else having any issue(s) with Apache/Java and / or FNDSM?
    thanks,
    -mike

    It appears to be a known issue for the Niagara chips:
    Oracle Applications Installation and Upgrade Notes Release 12 (12.0.4) for Solaris Operating System (SPARC)
    http://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=402312.1
    Java Performance on UltraSPARC T1/T2 (Niagara) processors
    There is a known issue with the Java Runtime Environment (JRE) version 5 on Sun's Niagara processor, a one-socket 8 core processor that can run 32 threads in parallel. As the JRE treats the Niagara system as a server class machine, the server appears to the JRE to be a 32-CPU machine and each Java Virtual Machine (JVM) spawns 32 garbage collector threads. Also, newer chips support a larger number of threads (for example, the Niagara 2 will appear as a 64-way server).

Maybe you are looking for