Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Memory usage of Cassini
derekp
#1 Posted : Tuesday, August 1, 2006 3:39:32 AM(UTC)
Groups: Member
Joined: 7/21/2006(UTC)
Posts: 8

I would like to know if there is a "debug" vs. a "release" version of UltiDevCassini.
It appears that the cassini I deploy (VisStudio 2005 for what its worth on XP SP2) uses about 42M memory before I start my web service. (It climbs to about 64M post-deploy which seems a little hi too)
I've gone thru my code a few times to try to make sure I release resources etc... to try to minimize my footprint.

Is the 40M typical ? Is there a means to reduce it?

Thanks!
Ultidev Team
#2 Posted : Tuesday, August 1, 2006 5:57:00 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Derek!

All publicly availabe versions of UltiDev Cassini are Release-built. Cassini Server in our tests on Windows XP takes about 15-20 MB on its own (about half of IIS footprint), plus it is about 5-10MB per loaded application. So with Cassini Explorer loaded you are looking at 20-30 MB. With more applications pre-loaded and being executed your numbers look about right. Curiously, Cassini on Vista takes much less memory: only about 7MB with Cassini Explorer loaded and just above 1MB without any applications loaded.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Ultidev Team
#3 Posted : Tuesday, August 1, 2006 7:51:55 PM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Derek,

there might be a memory management problem in Cassini 1.1. We have noticed that every time Cassini 1.1 reloads its applications - its memory usage goes up proportionally to number of applications, indicating that unloading applications does not free memory. That is a problem. The good news is that it may not be a big problem as Cassini service reloads applications only when metabase file is changes, which normally happens only when cassini applications get installed and uninstalled, which does not happen every day. Restarting Cassini service does core the problem. So while we are looking into the issue, you could create a new scheduled task that will restart Cassini 1.1 service every night. Cassini 2.0 is not affected by this problem.

We decided to postpone new release of Cassini till we figure out how to deal with this issue.

Regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
derekp
#4 Posted : Wednesday, August 2, 2006 10:07:58 AM(UTC)
Groups: Member
Joined: 7/21/2006(UTC)
Posts: 8

Might it be possible to get put on an email list that would notify me (and my customer) of this release when it happens.
We will have to upgrade to it when it comes out, I'm sure.
Thanks for your speedy replies to these questions, its certainly been a big help!
Ultidev Team
#5 Posted : Wednesday, August 2, 2006 10:48:34 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Derek.

We send out a news alert email to owners of older versions after major releases, provided they have given valid email address during registration. We also directly notify people who submitted bug reports. If your registration on this forum is up to date, we will contact you once new release is available.

We are working on the memory issue in 1.1 and even postponed the release that otherwise would be posted last night. Meanwhile another possibility for you is to test whether your application will work with ASP.NET 2.0. Cassini for 2.0 does not have the memory management problem. You can simply uninstall Cassini for 1.1 and isntall for 2.0 and see what happens. If that does not work, install Cassini for 1.1 back and you will be fine.

Thank you for using our Cassini.
Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
derekp
#6 Posted : Thursday, August 3, 2006 2:54:28 AM(UTC)
Groups: Member
Joined: 7/21/2006(UTC)
Posts: 8

Oops I wasnt paying good attention here - I am using Cassini 2.0 and .Net 2.0.
So I guess I dont suffer this problem.
Thanks!
Rss Feed  Atom Feed
Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.