This code compile and run:
try {
auto result = cmd.executeQuery;
foreach (row; result)
{
writeln(row[0]);
x = row[1].get!(ubyte[]);
}
}
catch (ServerErrorException e) {
// Probably table does not exist - ignore
}
But I am getting error:
core.exception.OutOfMemoryError@src\core\exception.d(679): Memory allocation failed
Is there any hack that can prevent this error?