我正在尝试使用PHP向MSMQ发送消息。当消息小于大约1.1 MB时,将发送消息。否则,我得到异常“com_exception:没有足够的资源来执行此操作。”该消息小于限制4 MB。 这是我到目前为止所发现的:
model.compile(loss='mae', optimizer='adam',metrics=['mae'])
和file_get_contents
没有问题,因此上传限制应该没问题php.ini设置:
msmq属性中的邮件大小没有限制。
我在file_get_contents中上传pdf文件。这是用于发送的php,例外是在$ msgOut->发送($ msgQueue):
file_put_contents