2GB cachemembuffersize? Is there a limit?

My issue isn’t with needing more buffering for speed, my issue is that sometimes I leave a show or movie paused for too long, and the connection gets killed. So once I resume, it gets to as far as it buffered and then dies, and I have to restart it.

I’m running barebones Ubuntu with just Openbox and Kodi on a Zotac Zbox B Series. My only addons are SALTS and Trakt. I have 8GB of RAM installed, so I’m wondering if I can up the cachemembuffersize in the xml settings file to 2 GB? The OS loads up with only 120 MB of RAM used, and with Kodi running and playing a stream, I’m still only using about 800 MB of RAM.

So my settings would looks like :

Code:
<buffermode>1</buffermode>
<cachemembuffersize>0</cachemembuffersize>
<readbufferfactor>1.0</readbufferfactor>

I’m not concerned about the readbufferfactor being any faster because my internet is really fast, I just want to know if there’s any problems that can arise from setting the buffersize so large. 2 GB should be enough to completely load most shows and movies right into RAM, so this should fix my problem yes?

Thanks in advance!