On Thursday, 9 February 2017 at 12:16:26 UTC, jkpl wrote:
On Thursday, 9 February 2017 at 11:22:28 UTC, Suliman wrote:
Docs says that:
"The total size of a static array cannot exceed 16Mb."
But when I am creation array of:
int [1000_000] x; // 1000_000 is equal ~ 0,95MB
app crush on start.
Should it's reserve this memory with guaranty? I mean that
after app start it should take +0.95MB of RAM in task manager.
multiply by 4
Also static array is not on the heap so take care to which column
of the task manager you monitor.