Page stops loading if you use a filter.

I seem to be getting this error Visualforce Remoting Exception: line 4638, column 1: String length exceeds maximum: 6000000 (skuid) $VFRM.Util.error even if i reduce the number of fields returned which seems to point here: $VFRM.Util={log:function(a,b){if(!(“undefined”===typeof console||!console.groupCollapsed||!console.log||!console.groupEnd))if(“undefined”!==typeof b&&null!==b)try{console.groupCollapsed(a),console.log(b),console.groupEnd()}catch(c){}else try{console.log(a)}catch(d){}},warn:function(a){if(“undefined”!==typeof console&&console.warn&&a)try{console.warn(a)}catch(b){}},error:function(a,b){if(“undefined”!==typeof console&&console.error&&a)if(b)try{console.error(a,b)}catch(c){}else try{console.error(a)}catch(d){}}, but i don’t know how to figure out which “string” is causing the problem