Load your data lazily. Briefly, only load what needs to be loaded. Once a user expands a node, you then load its children. The following tutorial has a section on how to do this
How to Use Trees...