how to decrease memory usage?

I am currently working on a project. While running the program, I don't have sufficient to run that program fully.

How can I decrease memory usage?
What memory are you talking about, System Memory? What OS are you using?
closed account (o3hC5Di1)
Hi there,

In awaiting your answer to Mr. Hagler's question, perhaps you can check out this page and see if the delete operator is what you are looking for:

http://cplusplus.com/doc/tutorial/dynamic/

Hope that helps,

All the best,

NwN
In addition to haglerchristopher's question, what do you need all this memory for? Are you working on large databases or something? Or are you allocating to much memory on the stack? If you have large arrays you probably want to declare them dynamically or (preferably) use a vector.
Topic archived. No new replies allowed.