Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I store more memory?

Status
Not open for further replies.

edita

Programmer
Mar 26, 2003
14
PL
Hello
I`ve got a problem with lack of memory when I`m creating list dynamically using

double *h = new double

where i is for example 177*177*171*171

How can I store more memory for my program that I could create such lists? Have you got any ideas?

Thanks
 
I don't understand your problem, please be more clear.

Greetings,
Rick
 
well... 177*177*171*171*8bytes = 6.83Gb... Each 32 bits program has access to 4 (or is it 2?) Gb of memory, since the address space is 32 bits. I suggest you buy a 64 bit system, with a 64 bit compiler... assuming their adressing space is 64 bits. Or, better yet, I suggest you rewrite your program, you must have some wasted space in there!

Good luck,

Vincent
 
>>or is it 2

It's 4, however windows takes 2 of those 4 for system purposes, so what remains is just 2 (3 with some special settings which I can't remember).....

Greetings,
Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top