LPS-44263 Fix max size messages in portal