Be sure to follow the memory usage tips.
Read carefully and follow the links provided, there is a lot of informations and optimizations you can and should apply to your project.
Also, the memory you can wish to use depends on the target you are aiming for. Desktop computers may probably handle up to 500 mo easily (don't take my word for it that's a rough estimate) but a mobile device probably won't have that much to spare.