Design Refresh Failed, Memory allocation request exceeded 65,000 bytes

I’m getting this error message when I try to refresh some databases using one particular template. What could cause the problem?