Video mjpeg Java.lang.OutOfMemoryError

Hi

I’ve install my.openHab for external access. In my sitemaps I’ve a video tag for IP Cam with mjpeg. On local Network it works perfect on habDroid. Hardware RP 2 B.

If I go outside an will connect to my camera, it is very slow and 1 minut later it give me a “Java.lang.OutOfMemoryError: Java heap space” on RP and the openhab dosn’t run anymore… What I do wrong?