Previous Next

Thread: MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

Last post 06-20-2008 2:57 AM by ksingla. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-13-2008, 9:12 AM

    • boss_west
    • Not Ranked
    • Joined on 06-12-2008, 10:41 AM
    • Posts 5
    • boss_west

    MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

     Hi everyone,

    I am running the getDependencies command on a WebSiteId and MsDeploy keep running over and over and the amount of memory used by the process keeps growing and growing..

    I stopped the process when the memory used was close to 1 Gb!!!!

    I used the -debug options but as the process never ends, i don't get any logs..

    has someone encountered the same pb as me using this command?

    PS: In general running the getDependencies option with MSDeploy uses an average of 15-30 MB of memory to get information and it's quite fast..

    Thanks for help..

     

  • 06-15-2008, 2:43 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 428
    • ksingla

    Re: MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

    Hi,

    Is the website content for which getDependencies command is consuming lot of memory much more than other sites? When you run getDependencies for a particular source, msdeploy collects all the information about the source which then gets passed to getDependencies. If you have hundreds of thousands of files for this site, it is possible for msdeploy to consume lot of memory. I can't think of any other reason for memory consumption. If you do have lot of content for this website, Is it possible for you to get number of files?

    Thanks,
    Kanwal

  • 06-18-2008, 9:18 AM In reply to

    • boss_west
    • Not Ranked
    • Joined on 06-12-2008, 10:41 AM
    • Posts 5
    • boss_west

    Re: MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

    Hi,

    You are right, the website isn't well configured and the home directory is a HUGE one, over 350 MB of data.

    I am not the administrator of the server so i was wondering where was the bug...

    thanks

    boss_west

     

     

  • 06-18-2008, 1:21 PM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 428
    • ksingla

    Re: MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

    350MB of data is not enough for msdeploy to consume 900MB of memory. Is it possible for you to check if there are multiple virtual directories pointing to same root folder? In that case, msdeploy might parse same directory multiple times. Also, is it possible for you to find number of files under this site root? We have verified that msdeploy consumes reasonable amount of memory when moving million files. I wonder what makes it consume memory upto 900MB.

    -Kanwal-

  • 06-19-2008, 5:57 AM In reply to

    • boss_west
    • Not Ranked
    • Joined on 06-12-2008, 10:41 AM
    • Posts 5
    • boss_west

    Re: MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

    Msdeploy isn't to blame for consume this big amount of memory.

    in fact, the website parsed by msdeploy is pointing on the root folder of all hosted websites on the server!!!

    I don't know why??

    here are the real figures:

    the root folder is in fact a 119 GB one with over  2 085 000 files and 143 193 children folder!

    So this website isn't really working and may not exist...

    i 've inform the admin of this..

     

  • 06-20-2008, 2:57 AM In reply to

    • ksingla
    • Top 10 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 428
    • ksingla

    Re: MSDeploy getDependencies not responding Consuming great amount of memory(over 900MB)

    Yes, these many files and folders will make msdeploy consume lot of memory. We will look into reducing our memory footprint for large number of files for our RTW release. Thanks for providing these numbers.

Page 1 of 1 (6 items)
Page view counter