You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Matthias Boehm (JIRA)" <ji...@apache.org> on 2017/04/19 07:20:41 UTC

[jira] [Closed] (SYSTEMML-1545) Incorrect leftindexing memory estimate w/ empty input in loops

     [ https://issues.apache.org/jira/browse/SYSTEMML-1545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthias Boehm closed SYSTEMML-1545.
------------------------------------

> Incorrect leftindexing memory estimate w/ empty input in loops
> --------------------------------------------------------------
>
>                 Key: SYSTEMML-1545
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1545
>             Project: SystemML
>          Issue Type: Bug
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>            Priority: Blocker
>             Fix For: SystemML 0.14
>
>
> The current memory estimate of leftindexing operations is incorrect (in terms of a dangerous underestimation that leads to OOMs) for empty input matrices in loops. For example, consider the following script
> {code}
> R = matrix(0, N, r^2);
> parfor(i in 1:nrow(X)) {
>   Xi = X[i,]
>   R[i,] = matrix(t(Xi)%*%Xi, 1, ncol(X)^2)
> }
> {code}
> In this scenario, the memory estimate of R[i,] is mistakenly set to a single row, which is only valid during dynamic recompilation with constant indexing range quantifiers.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)