Update: Fatal error: … Ice::MemoryLimitException: protocol error: memory limit exceeded

Ins Wiki übertragen und ergänzt: https://wiki.natenom.de/mumble/benutzerhandbuch/murmur/erste_hilfe/messagesizemax.

If you get something like this:

Fatal error: Uncaught Ice_UnknownLocalException /opt/Ice-3.3.0/include/Ice/BasicStream.h:112: Ice::MemoryLimitException: protocol error: memory limit exceeded thrown in /var/www/hpbyip/mview/view.php on line 147

The solution is to increase the MessageSizeMax in Ice. Default size is 1 MB.
You need to increase it on both sides. We will use 10 MB.

PHP:

Add this line to your php.ini or elswhere into the php configuration (two 
ice.options=“––Ice.MessageSizeMax=10240″

and restart your apache/lighttpd:

Murmur (Mumble-Server):

You need at least a snapshot from 7. Nov or git. Before this date it was not possible to give Ice-Options to murmur.
murmur.x86 ––Ice.MessageSizeMax=10240

This is all :) Our Mumble-Viewer works now :) Thanks.


For more IcePHP options, look here:
http://www.zeroc.com/doc/Ice-3.3.1/manual/IcePHP.29.3.html

MfG

Ähnliche Themen …