- #1
Phymath
- 184
- 0
Hey,
In doing a circuit simulation i want to allocate a matrix like this (c++)
double S1store[3][steps+1]
i get no compiling errors, but if i make steps greater then 28000 the program gives me a windows error and crashes, it runs fine on a unix system. is there a limit to the amount of data you can allocate at one time? (i have 1GB RAM 3.2 Ghz processor) i don't think that would fill up. Or do you think the compiler doesn't complie correctly when your matrix is that large?
thanks for any help, i would have put this is programming but i know there's better programmers in physics lol
In doing a circuit simulation i want to allocate a matrix like this (c++)
double S1store[3][steps+1]
i get no compiling errors, but if i make steps greater then 28000 the program gives me a windows error and crashes, it runs fine on a unix system. is there a limit to the amount of data you can allocate at one time? (i have 1GB RAM 3.2 Ghz processor) i don't think that would fill up. Or do you think the compiler doesn't complie correctly when your matrix is that large?
thanks for any help, i would have put this is programming but i know there's better programmers in physics lol