Stack Overflow

Hello,
I am writing a code for simulations and the population is quite big.
I am using VS 2103 C++ and I try to increase the stack with the command
/F4194304 %(Additional Options), using the command line properties.
This should give me more stack, but it fails. i cannot get more then about one MByte.this is the max the linker allows me.

1
2
 const int n = 63;	
 particle *box[n][n][n];


Does anybody know why it fails and what I should do instead? Or is there another way to use the 8GByte of RAM that is on my machine?
thx ill check it out
Thanks Borges, works perfectly!
If you have 8 GB you won't be able to use it all. The operating system and other things are going to use some of it.
Topic archived. No new replies allowed.