High Memory Usage and Memory Leak

Comments

19 comments

  • Bouma, Colby

    I just ran a test. When I view computers in Inventory some of them cause the memory to increase by 4-12MB. By hitting Next a bunch of times I drove the memory usage up to about 670MB. Is Inventory caching the data for each viewed computer?

    0
    Comment actions Permalink
  • Bouma, Colby

    By viewing my packages one by one in Deploy I was able to get it up to about 607MB.

    0
    Comment actions Permalink
  • Lex Hansen

    Hi Colby,

    It does cache information about machines. I would guess that you have many machines that you manage

    What size is your DB.  File->Prefernece->Database

    What is your Auto Clean up set to?

     

    Lex

    0
    Comment actions Permalink
  • Shane Corellian

    I want to add a wrinkle to this thread.  The memory that PDQ products use is managed by the .NET Framework. You will notice a big chunk of memory allocated especially when there are a lot of deployments and scans. .NET is not aggressive about returning the memory to the OS if there is a lot of available memory on the system. If there isn't a lot of available memory then .NET is more aggressive with its Garbage Collection (the underlying .NET process which returns memory to the OS). 

    That being said, it is important to run the latest version of both products. There were some memory leaks discovered in PDQ Deploy 3.2 and these were fixed in Release 2 and Release 3.

    1
    Comment actions Permalink
  • Bouma, Colby

    Lex,
    I have 663 computers right now. My DB is 118MB. My Auto Cleanup is set to 14 days.

    Shane,
    I am running .NET 4.5.1. I am running PDQD 3.2 r3 and PDQI 3.1 r4.

    Thank you both for your feedback, I really appreciate it. Is there any way to turn off the caching or turn up the garbage collection on .NET? Would installing .NET 4.5.2 make any difference?

    0
    Comment actions Permalink
  • Jason Dupuis

    Hi Guys. 

     

    I'm running into the same thing with the newest version (4.2.0.0 Pro).  High memory usage while idle.  I was up over 500mb without a scan, update, deployment, etc going on.  My DB is a whopping 900K.  Any Ideas?

     

     

    0
    Comment actions Permalink
  • Andrew S

    After making repeated changes to 1 report and other daily tasks in PDQ Inventory, it's currently consuming 1.6 GB.  Normally PDQ Inv or Deploy in client mode run above 500m in Client mode on my machine.

    Running version 14.3 in Client mode (so no background service) and .Net framework 4.6.00081.

    0
    Comment actions Permalink
  • Colby Bouma

    @Andrew S

    Thank you for reporting this issue. I have filed an internal bug ticket. I will let you know what we find out.

    0
    Comment actions Permalink
  • Andrew S

    Thank you Colby. For me it appears PDQ Inventory starts to become sluggish and consume lots of RAM when repeatedly modified and running reports, adding numerous value filters etc.

    We have around 250 PCs monitored by Inventory. Today I'm at 884,268k and modifying my reports, in the Define mode there may be a delay of up to 5 seconds from moving entries up or down or adding a new value filter.

    Only seems to occur after I start to modify reports.

    0
    Comment actions Permalink
  • Colby Bouma

    Is 15.1 working better for you?

    0
    Comment actions Permalink
  • Stefan Strobel

    I've got massive memory problems with Deploy (15.3):

     

    The console consumes 400 MB right after start. Often it grows over 2.5 GB in an hour or so and gets unresponsible.

    The service is at 2.5 GB also, running over a week.

    We've got only 50 computer...

     

    If i can help to analyze...?

    0
    Comment actions Permalink
  • Colby Bouma

    @Stefan Strobel:

    Do you have a large number of unused files in your Repository?

    0
    Comment actions Permalink
  • Stefan Strobel

    255 files... is this a large number?

    0
    Comment actions Permalink
  • Colby Bouma

    No. Please contact support@pdq.com

    0
    Comment actions Permalink
  • Andrew S

    Opened and closed a couple of reports I worked on previously and same issue in Inventory 15. Went to 850 MB, closed reports, minimized, reopened Define report now at 1.1 GB.

    These reports in particular have a large number of value filters. Switching between the columns and filters tabs in Define Report memory usage continuously jumps up. After closing and minimizing PDQ eventually freed about 100 MB of memory (.NET garbage collection?).

    I do have 8 GB memory on this PC but running a VM simultaneously.  Less than 200 MB physical free now

    0
    Comment actions Permalink
  • Andrew S

    Other user also experiences issue with slow behavior on Reports with large number of filters noted here: https://support.pdq.com/hc/en-us/community/posts/360000381951/comments/360000150011 

    0
    Comment actions Permalink
  • Barry Ferguson

    My memory usage is pretty high as well, around 400-500 per console after 24 hours of being open. Just commenting in here to see if you guys have identified a fix. I'm in the process of migrating PDQ from my workstation to a server and am worried about memory leaks taking down this machine that also runs WSUS and SCCM.

    0
    Comment actions Permalink
  • Ericc Diaz

     I am also an issue with my server. Its extremely slow and i have various issues where the software crashes. I am running the most recent versions of both deploy and inventory.

    0
    Comment actions Permalink
  • Colby Bouma

    @All:

    If you have issues with high memory usage or crashing, please contact support@pdq.com.

     

    0
    Comment actions Permalink

Please sign in to leave a comment.