Several assemblies memory usage

S

Steve B.

Hi,

If I split my application into several assemblies instead of one
application, will it consume more memory ?

I actually have an application with an auto update mecanism. I split the app
into several assemblies in order to deploy only updated assemblies. However,
I'm not sure this is memory cost free to have many assemblies.

Thanks for any clarifications,
Steve
 
T

tamberg

If it does consume more memory the overhead is very low. We modularize
our applications extensively (more than 50 assemblies) without a
problem.
 
A

Alex Yakhnin

Remember,

That CF runtime will load the assembly into memory only when the method that
belongs to this assembly is called and then it would compile (JIT) the code
on the method by method basis, so from the memory usage point of view it is
better to have you app modularized.

-Alex
 
S

Steve B.

The app is supposed to be closed very rarely... (actually only at app
updates).
Will the CF finally release JIT result to frees memory ?
 

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