开发者

Tips on reducing Silverlight server-side web application memory usage on server with limited Application Pool

For reference, I orig开发者_C百科inally posted a version of this question on the Silverlight forum here: http://forums.silverlight.net/p/190247/438343.aspx/1?p=True&t=634493619295498464

I would like to open it up to the SO community as it is still an issue for me.

I'm using Silverlight 4 and WCF RIA services. My app is hosted with WinHost. The hosting package I have only allows an application pool size of 200mb before the app pool is auto-cycled.

The problem is that my app initialises at around 85mb and hits the 200mb limit with user activity. (Running queries, CRUD operations etc.)

So I really have two questions:

  1. What are some tips for reducing the memory requirements of my app on the server?

    What could be using up all the memory on startup? (I don't run any queries at start-up just load a very minimal home page)

  2. What should I look out for in order to minimise the growth in memory requirements of my server-side web app as users browse pages and run queries?

As sub-question, although I realise this is VERY subjective:

Is a 200Mb app pool too small for a small sivlerlight business app that is mainly user triggered CRUD operations?

(My testing has been with two users logged in concurrently)

This is my first Silverlight application so I don't have anything to compare it to.

Any information greatly appreciated.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜