I have a do-file that I run on two different machines. It consistently breaks in the same spot on one of them, while executing correctly on the other. The spot where it breaks is -frame create-, but the error message I see in the log file is "unexpected end of do-file" after the last command before that. I am suspecting that Stata fails to create that frame, but returns an incorrect or indecipherable internal error message, and then the do-file/logging mechanics does not find any better way of reporting that other than the above message.
I need to -set maxvar 32000- as I am working with fairly wide datasets; however they only consume a total of 1Gb, as I can check on the machine where stuff runs without errors, with the same data set. I have 16Gb on the machine where execution fails (and Stata's -about- says 12Gb available, so I don't see how getting even another 1Gb would be an issue).
Is there any good way to debug this?
I need to -set maxvar 32000- as I am working with fairly wide datasets; however they only consume a total of 1Gb, as I can check on the machine where stuff runs without errors, with the same data set. I have 16Gb on the machine where execution fails (and Stata's -about- says 12Gb available, so I don't see how getting even another 1Gb would be an issue).
Is there any good way to debug this?
Comment