If the server shuts down because of insufficient memory errors, it is possible that the allocated heap size is not enough for the amount of data being returned. Consider increasing the heap size, or reducing the number of request handler threads using the following dsconfig command:

$ bin/dsconfig set-connection-handler-prop \
         --handler-name "HTTP Connection Handler" \
         --set num-request-handlers:<num-of-threads>