Improve P-BEAST exceptions and error reporting Fix "too much memory resources used by user request" issue