SYMPTOM:
Starting from Strategy Web 9.4.1 Hotfix 3, it is possible to use a KML file as Custom Shape for ESRI map. When a user runs an ESRI map with a large KML file, the following error occurs:

KML file request failed! null

Server Error in '/Strategy' Application java.lang.OutOfMemoryError: Java heap space