Stack Overflow

Sep 28, 2014 at 5:50pm
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?
Sep 28, 2014 at 6:04pm
Sep 28, 2014 at 6:48pm
thx ill check it out
Sep 28, 2014 at 7:42pm
Thanks Borges, works perfectly!
Sep 28, 2014 at 8:40pm
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.