# Odd webplayer memory usage

**URL:** <https://discussions.unity.com/t/odd-webplayer-memory-usage/488341>\
**Category:** Runtime Performance\
**Created:** [October 18, 2012, 2:42pm UTC](https://discussions.unity.com/t/odd-webplayer-memory-usage/488341 "2012-10-18T14:42:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AdrianC](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@AdrianC](https://discussions.unity.com/u/AdrianC)\
**Post date:** [October 18, 2012, 2:42pm UTC](https://discussions.unity.com/t/odd-webplayer-memory-usage/488341/1 "2012-10-18T14:42:34Z")

</div>

So I’m having trouble with the webplayer build. A stand alone build of this game I’m working on uses around 250mb of RAM, according to the task manager. A web build uses around 750mb.

The browser itself will use up some of that memory but even so, I think the difference is way too big. I’ve tried in in multiple browsers over 3 different computers with the same results.

Any ideas? Is this normal? Tips on how to solve?

---

<div class="post-metadata">

**Author:** ![CreativeChris](https://dub1.discourse-cdn.com/unity/user_avatar/discussions.unity.com/creativechris/32/884214_2.png) [@CreativeChris](https://discussions.unity.com/u/CreativeChris)\
**Post date:** [October 18, 2012, 3:30pm UTC](https://discussions.unity.com/t/odd-webplayer-memory-usage/488341/2 "2012-10-18T15:30:11Z")

</div>

I think with any memory usage problems, you need to ensure your optimising as much as possible, I’m not sure on the technical side why there is a difference between standalone and WebPlayer but if your a Unity Pro user, you can profile your game using the profiler and see what’s happening?

Thanks,  
Chris

---

<div class="post-metadata">

**Author:** ![AdrianC](https://avatars.discourse-cdn.com/v4/letter/a/c68b51/32.png) [@AdrianC](https://discussions.unity.com/u/AdrianC)\
**Post date:** [October 18, 2012, 4:20pm UTC](https://discussions.unity.com/t/odd-webplayer-memory-usage/488341/3 "2012-10-18T16:20:12Z")

</div>

I’m not super familiar with the profiler but I’ll give it a try.

When running it in the editor, I get a total of 213mb memory usage, with 60mb in textures. If I create a development webplayer and profile that I get 380mb total and 100mb in textures. Everything else stays about the same, and they are fairly low numbers.

I’m ok with the stand alone values, but the webplayer usage is way too high. Also, I’ve noticed occasionally I get an “Out of memory” error in the console. No other info is there, and memory usage is constant.
