How much heap space do you have available? You probably want to increase beyond the standard amount (64 M I think is the default?) I would also recommend that you consider populating your tree model dynamically. There's no need to have all 30,000 nodes sitting in the memory all the time.
Sean On 2/22/06, Hans Sowa <[EMAIL PROTECTED]> wrote: > Hi > > Thanks, I know that I can you clientSideToggle but this doesn't solve my > problem with the heap space. I tried it but it seams myfaces has problem > with too much nodes. > > 2006/2/22, Onur Tokan < [EMAIL PROTECTED]>: > > Make the tree2 attribute to clientSideToggle="false". > > > > Regards, > > Onur > > > > On 2/22/06, Hans Sowa <[EMAIL PROTECTED]> wrote: > > > Hi > > > > > > I need to realize a tree which can have about 30.000 nodes and every > node is > > > clickable. I know this is a lot but this is my requirement from the > > > business. I have now the situation that it is not possible at the moment > so > > > we have a workaround: Up 250 nodes we will show a scrollable list > instead of > > > the tree. But for the future I need a tree solution. > > > > > > I have now two issues with the tree2. > > > 1. The html code which is created is very large and the browser runs in > > > trouble. > > > 2. There is a heap space problem in MyFaces for a certain number of > nodes (> > > > 250). > > > > > > My actually questions are > > > Is there a solution for such large trees? Should I use an other tree > instead > > > of tree2? Is there anybody who has a similar problem and solved it? > > > > > > Thanks in advance. > > > > > > -- > > > mfg Hans Sowa > > > mailto:[EMAIL PROTECTED] > > > > > > -- > > mfg Hans Sowa > mailto: [EMAIL PROTECTED]

