My question is regarding sem and gsem in Stata and Mata memory.
As you probably have suspected, I have found the old error r(3900) in my estimation. I am aware there is no solution to this problem besides upgrading the machine and OS (probably not possible). This question is mainly for my own curiosity.
I am estimating a rather complicate model in SEM using a reasonable large dataset (2424 obs, 121 paths, 19 vars all observed) and in sem model it estimates with little difficult using QML (ML with the robust option), however, in gsem (including the listwise option), the exact same model gets an error ( see below) from mata that says it is trying to load a real matrix known as J() of [2424,24795] which I estimate at about half a gigabyte of data
J(): 3900 unable to allocate real <tmp>[2424,24795]
Why such the large increase in the use of memory? is it simply the integration methods of gsem, is their anyway to suspend them? and which matrix is this J()?
As you probably have suspected, I have found the old error r(3900) in my estimation. I am aware there is no solution to this problem besides upgrading the machine and OS (probably not possible). This question is mainly for my own curiosity.
I am estimating a rather complicate model in SEM using a reasonable large dataset (2424 obs, 121 paths, 19 vars all observed) and in sem model it estimates with little difficult using QML (ML with the robust option), however, in gsem (including the listwise option), the exact same model gets an error ( see below) from mata that says it is trying to load a real matrix known as J() of [2424,24795] which I estimate at about half a gigabyte of data
J(): 3900 unable to allocate real <tmp>[2424,24795]
Why such the large increase in the use of memory? is it simply the integration methods of gsem, is their anyway to suspend them? and which matrix is this J()?
Comment