VideoPlayer in MonoGame eats whole RAM, but in XNA don't. How to fix it?

Well, i wanted to place video to my MonoGame project but when i played it, after few seconds, computer freezed. When i restarted PC and launched Task Manager and then my game again then i saw that my 8GB of RAM was eaten while video was playing. I checked code but there were no mistakes.

A while ago i made XNA project and putted the same code and everything was OK, no problems at all, video was played perfectly and game used only 50 MB of RAM.

So now i think it’s MonoGame bug, anyone knows how to fix it?
Maybe it’s Microsoft.Xna.Framework.Media from MonoGame problem?
Is there any way replace this?

Thank you for your time :slight_smile:

We did a bunch of work on the MonoGame video support and things are better, but still not perfect.

Might want to experiment using our implementations of Video and VideoPlayer for WMS:


We still feel there are some possible bugs in there, but we’re using it in a project that plays 1000s of videos a day… so it is fairly solid.

1 Like

Well, thank you for your response, but actually i have no idea how to use this :stuck_out_tongue:
I think i need to wait for next MonoGame installer release :'c