Also, I appreciate if someone can explain this allocation pattern:

        - function baz()
 61786572   a = ones(100,100,100)
  8000544   b = zeros(100,100,100)
        -
 64631690   a[1:50,1:50,1:50] = b[1:50,1:50,1:50]
        - end
        -
        - baz()
        -

Why a and b allocate a different amount of memory even though they have the
same dimensions? Why the assignment is allocating memory?

-Júlio

2015-12-10 12:31 GMT-08:00 Júlio Hoffimann <[email protected]>:

> Kristoffer,
>
> You mean the issue as a whole or the two questions I've asked?
>
> -Júlio
>
> 2015-12-10 12:28 GMT-08:00 Kristoffer Carlsson <[email protected]>:
>
>> Overflow of allocation counter
>
>
>

Reply via email to