Results 1 to 4 of 4

Thread: Creating new AppDomains...how many is too many???

  1. #1

    Thread Starter
    Super Moderator Wokawidget's Avatar
    Join Date
    Nov 2001
    Location
    Headingly Occupation: Classified
    Posts
    9,632

    Creating new AppDomains...how many is too many???

    Hi,

    I need to create seperate AppDomains to dynamically load assemblies.
    But...how many AppDomains is too many?

    Is it ok to create 100? Is 1000 too many???
    I am trying to work out what the overhead would be if my client app created 100 new AppDomains, one for each dynamic assembly.

    Cheers,

    Wojka

  2. #2
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Creating new AppDomains...how many is too many???

    hey,
    i try to google it but there is no luck, if you got answer i will be happy for sharing it...
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

  3. #3
    Frenzied Member Lightning's Avatar
    Join Date
    Oct 2002
    Location
    Eygelshoven
    Posts
    1,611

    Re: Creating new AppDomains...how many is too many???

    For a 24/7 running service mining data of a pharmacy-system, sending it to the "head quarter" I ran into a bug in the .Net framework where, on some systems the service had a memoryleak. Doing the sending (with WCF) in a separate appdomain for each message. This means the services create about 3.000 appdomains per day, giving a overhead of 30 seconds processortime per day.
    According to this link from MSDN running a lot at the same time time isn't gonna be a problem
    VB6 & C# (WCF LINQ) mostly


    If you need help with a WPF/WCF question post in the NEW WPF & WCF forum and we will try help the best we can

    My site

    My blog, couding troubles and solutions

    Free online tools

  4. #4
    Frenzied Member avrail's Avatar
    Join Date
    Mar 2006
    Location
    Egypt, Cairo
    Posts
    1,221

    Re: Creating new AppDomains...how many is too many???

    need to be tested, i think
    You Don't Have to Rate Me.
    I'm Not a Civilized Man I'm the Civilization it self
    White or Black, Living or Dieing and 0 or 1 that's MY life
    iam an Object in Object Oriented Life
    my blog : http://refateid.blogspot.com/
    twitter :@avrail
    010011000111010101110110001000000100110101111001001000000101000001100011

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width