Stack Overflows and Memory Errors using _get() metamethod

I was toying with what I thought was some fairly innocuous code (in device) and have seen regular errors of
[Exit Code] imp restarted, reason: out of stack
and occasionally
[Exit Code] imp restarted, reason: memory error

I stuck a metamethod in an instance that does the following:

`    function _get(property){
        server.log("got "+property)
        throw null
    }`

Is it the repeated calls to server.log that do it?