SFML community forums
Help => General => Topic started by: furrydice on January 04, 2011, 07:19:11 pm
-
Hi,
I was wondering if you could help. I have defined a structure that uses quite a lot of memory (120kB), and I need to create at least another 3 of them. When I only create 1, the program works fine, when I add the second I get the errror:
Unhandled exception at 0x01037fd7 in Dungeon_Twister_1.exe: 0xC00000FD: Stack overflow.
Can anyone tell me how/where to increase the allocated stack size. I seem to remember it should be done in the makefile (more a compiler/VC++ option than SFML).
If anyone could tell me how to set/increase the stack size would be great (+ general rules for maximum allocatable stack size..)
Many thanks..
(p.s.: sfml1.6, Win7-64bit, VC++2008, 6GB RAM)
-
You should allocate them on the heap if the stack isn't enough, not increase the stack.
-
thanks, sorry, been a while... :oops: