.NET framework and Terminal Server

F

fossmo

Hi,

Can somwone tell me how .net framework will behave when I'm running a
..net application in TS? Will .net framework load for every
user/prosess? If so, is it possible to share the .net framework between
users/prosesses?

How much memory will a user/prosess use when you run the .net
application?

Thanks,

Pål F
 
K

Kevin Spencer

Can somwone tell me how .net framework will behave when I'm running a
.net application in TS? Will .net framework load for every
user/prosess? If so, is it possible to share the .net framework between
users/prosesses?

Every application, regardless of whether or not it is a .Net application,
and regardless of whether it is being run by a user via Terminal Services,
or how many instances of it are running simultaneously by however many
concurrent users, runs in its own process.

The .Net framework is simply a set of assemblies, COM objects, and registry
entries, in many ways no different than any other plaform. It doesn't
"load." It is "used." When a DLL is needed, an app loads a copy of that DLL
into memory, just like any other DLL.
How much memory will a user/prosess use when you run the .net
application?

As much as the application needs to run. Like any other application, this
depends on the application itself.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Big things are made up of
lots of little things.

Hi,

Can somwone tell me how .net framework will behave when I'm running a
..net application in TS? Will .net framework load for every
user/prosess? If so, is it possible to share the .net framework between
users/prosesses?

How much memory will a user/prosess use when you run the .net
application?

Thanks,

Pål F
 
W

Willy Denoyette [MVP]

Hi,

Can somwone tell me how .net framework will behave when I'm running a
..net application in TS? Will .net framework load for every
user/prosess? If so, is it possible to share the .net framework between
users/prosesses?

How much memory will a user/prosess use when you run the .net
application?

Thanks,

Pål F

Every .NET application loads the runtime and the C runtime and some other
windows system DLL's.
While most of these DLL's are shared amongs processes, the JITted code is
not, that means that the "private memory" taken by a .NET application is
larger than a comparable native code application and this can be a problem
when multiple applications are run on the TS. Therefore it's strongly
advisable to ngen the application that will run on a TS, ngened assemblies
result in a larger portion of sharable code.

Willy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top