+ Start a Discussion

Query of LOB fields caused heap usage to exceed limit.

Since this weekend we've been getting "Query of LOB fields caused heap usage to exceed limit" from various organizations that have our AppExchange packages installed. Presumably this is due to a change to memory usage enforcement in the Winter 12 release, but I can't find any information about it in the release notes or elsewhere. Obviously, this is caused by queries returning too much data, but what specifically has changed to cause this error when it has never occurred before?

cARL scARL s

The heap size increase in Winter '12 is not by default.  Call the setLimitHeapSize() method to set it.