Thanks! for the answer.
So, WP allot less RAM(180MB) to apps/ games.
Then I curious about how Android works. I checked two less RAM phones Xperia U and Galaxy S advance. Android actually employ less RAM for OS. For application it show 368MB RAM(Xperia U) or 555MB RAM(Galaxy S Advance). That means Android is better for apps/games because where WP force developers to use less RAM or resources.
Am I right here?
No, you are wrong, or at least you aren't always right, as it will ultimately depend on each individual game. A lot of games don't even get anywhere close to requiring 180 MB, in which case the limit is completely irrelevant.
Furthermore, WP devices offer an app different amounts of memory, based on the device's total RAM capacity. From 1GB models, apps can request and receive up to 380 MB. Based on the fact that you mentioned only the 180 MB limit, you are apparently considering only 512 MB WP devices, but you are comparing them to a Galaxy S advance, with 768 MB RAM. You're not making an apples to apples comparison!
Finally, you're making the assumption that using more RAM is always worse and using less RAM is always better. That is such an extreme oversimplification that it's just completely wrong. At least just as important, if not more so, is how that occupied RAM is being put to use. If that sentence means nothing to you, I'd recommend finding an article describing the space-time trade-off as defined by computer science. In a nutshell, it shows how the performance of almost any algorithm can be improved by using more RAM, or get by with less RAM if you are willing to have an algorithm that is computationally more intensive for the CPU. This is a very typical scenario encountered in computer programing, which begs the question whether it might be better to be less frugal with RAM in order to gain higher performance (putting it to good use). If such design choices lead to an overall more efficient system, which also benefits games, is the higher RAM usage then good or bad? My point is really just this: looking only at RAM consumption without understanding what it is being used for, tells you little to nothing.
In closing, I'll again mention that this limitation is optimizing other aspects of the OS. For example, on a WP device, you'll never encounter a game for which your device meets the minimal requirements, but other background tasks won't allow that game to run properly due to their own RAM consumption. A game on WP will also never crash due to encountering an out of memory exception, nor will your WP device suddenly start stuttering in game, due to the OS having to unload apps from memory to make more room for your game. These are all realistic scenarios on Android devices, but you seem happy to just ignore aspects like these entirely. IMHO such aspects deserve to be counted towards making a device good for gaming... IMHO there is much more too it than just your very narrow view of the topic.
Explaining how memory management works on Android is far to involved for a forum post. Google is your best bet (
here), but you can always return with specific questions.
Far more important than the restrictions being discussed here, is that games are ported to WP more as an afterthought. If games were developed for WP first and iOS and Android second, you'd see the exact same phenomenon just in reverse. Thankfully, the remedy is easy: buy a device with at least 1GB of RAM!