Running Out of Memory after loading models

I'm making a game, and I have a big TerrainMap, trying to load about 300 trees (300-500 tri .obj models), and about 10 characters (500-1000 tris, .md3 models, 330 keyframes). Its crashing at about 200 MB of memory, which seems like a lot.



I'm wondering if there are any solutions - i changed the eclipse.ini file to have a max memory of 1gig. Perhaps there is some way of only loading a single tree, and displaying it 500 times in different locations? I can't do that for the characters, because they need to be animated. Another possibility would be to try to make a lot of stuff static - the animation data, for example.



What's the best way to get around this?

Check out the SharedNode and SharedMesh classes.