Retained in memory Or not?

I created a webservice.
From the userquide, it tells me to check the Retained in memory oprions.

Now, I try to run the webservice twice, once with "Retained in Memory" option checked.
After that, I restart my pc.
This time, i run without the options.
I find no difference whether I check the "Retained in Memory" or not.

What is the different actually? And under what condition will I need to check the retained in memory option?
[463 byte] By [nullspirit] at [2007-11-18 2:13:28]
# 1 Re: Retained in memory Or not?
Retained in memory can be compared to something COM programmers call object pooling. It's not exactly the same, but it has some simularities.
What it does is it after the object has been used and disposed, it keeps the instance in memory. If within a specific period of time (I believe 30 secs) someone calls that webservice again, it will use the copy it has in memory rather than creating a new one.

This can result in speed gain, since it has lesser overhead. Of course, this is only noticable when doing this on a large scale, like calling the service a couple of hundred times in a very short amount of time.
Cakkie at 2007-11-10 0:02:36 >
# 2 Re: Retained in memory Or not?
So you mean even with the retain in memory option checked, the instance will only reside in the memory for a short period only?
nullspirit at 2007-11-10 0:03:36 >
# 3 Re: Retained in memory Or not?
I'm not sure how this is done with webservices. I would think it get's removed from memory when the webapllication the service runs in stops, which is when the last session ends. This is probably around 20 minutes. As I said, I'm not sure about this, but this seems obvious to me.
Cakkie at 2007-11-10 0:04:34 >