You need to sign in to do that
Don't have an account?
Sagar_SFDC
system.LimitException: Query of LOB fields caused heap usage to exceed limit
Getting Query of LOB fields caused heap usage to exceed limit in apex trigger in the SOQL Query on Content Version.
List<Id> ListNewRD_KB = new List<ID>();
List<ContentVersion> ListContentVersion = [Select id,VersionData, Title,PathOnClient,R_D_Knowledge_Base__c,ContentBodyId from ContentVersion where R_D_Knowledge_Base__c IN : ListNewRD_KB limit 1] ;
List<Id> ListNewRD_KB = new List<ID>();
List<ContentVersion> ListContentVersion = [Select id,VersionData, Title,PathOnClient,R_D_Knowledge_Base__c,ContentBodyId from ContentVersion where R_D_Knowledge_Base__c IN : ListNewRD_KB limit 1] ;
Punit Baxi
Did you got an answer for this error? We are also running into the same error.