I don't know, but as it seems to me, the problem is very obvious;
- Code: Select all
all you are doing is infinitely pushing value into the array
vector, you aren't reading any value into it
value so there is nothing to slow it down from infinitely storing the same value over and over again until it runs out of memory.