|
Posted by vito on 07/15/06 23:13
> Well, in this case you're trying to initialize 10,000 * 10,000 arrays,
> each with an integer. On a 32 bit system that's something like
> 400,000,000 bytes (close to 400 mb) of storage plus the overhead of the
> arrays themselves. Probably a bit more than you have available - the
> default is around 8M.
>
> Why would you ever try to initialize this much memory (in either PHP or
> C/C++) anyway?
>
Indeed, i just hope to make an array of a[10000][3] and then can be used
later. i'd be glad if you could tell me how to initialize such an array.
Thanks.
[Back to original message]
|