After increasing LocalMapService.MaxRecords to 100,000 (from default 1000) to get all features for a particular sub-layer, I'm now getting an exception with the following message when querying against a large featureSet:
"Cannot write more bytes to the buffer than the configured maximum buffer size: 104857600." (0x6400000)
I need to be able to query all features for a particular layer/sub-layer.
Where is this max buffer size defined? Is there a way to increase this maximum buffer size through the API or maybe in a file somewhere?