Bug: exception class not properly disposed

Former Member
Former Member
I have an exception class:

class MyException
{
function initialize() {}
}


My SimpleDataField has the following implementation for the compute function:

function compute(info) {
try
{
throw new MyException();
return 0;
}
catch (ex instanceof MyException)
{
return 1;
}
}


When I run this in the simulator I see the memory usage growing and after 20 seconds I get an Out of Memory Error.