DonationCoder.com Forum

DonationCoder.com Software => Older DC Contests and Challenges => N.A.N.Y. 2014 => Topic started by: mouser on January 01, 2014, 06:22 PM

Title: NANY 2014 Release: Process Piglet
Post by: mouser on January 01, 2014, 06:22 PM
Process Piglet is a tool that lives down in your system tray and monitors the memory use of running processes.

When it first sees a new application, it spends about 30 seconds observing its average memory use. This establishes a baseline memory use pattern for the application.

After that, Process Piglet will alert you if/when the application starts to consume large amounts of additional memory.

Frequently such behavior indicates a problem with the application, such as a memory leak.

When such an alert is shown you may ignore it -- you will be alerted later if memory usage continues to increase. Or you may ask Process Piglet to forcibly terminate and restart the application.



Web page and download: https://www.donationcoder.com/Software/Mouser/ProcessPiglet/
Watch a video demo: here (https://www.donationcoder.com/screencasts/dc/3ds/piglet/piglet.html).
Or on YouTube:



Screenshot, minimized in tray and alerting on bad behavior:
(https://www.donationcoder.com/Software/Mouser/ProcessPiglet/piglet.png)

Screenshot, main window listing top memory hogs with quick actions to terminate or restart:
(https://www.donationcoder.com/Software/Mouser/ProcessPiglet/screenshots/piglet2.png)
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 01, 2014, 06:25 PM
At this stage, Process Piglet has few options and nothing to tune and adjust.

Just run it and forget it -- it doesn't make any changes to your pc or do anything other than monitor memory use of other applications andl pop up and alert you if it detects a process misbehaving

It's likely that it will merge with and become part of my Process Tamer (https://www.donationcoder.com/Software/Mouser/proctamer/index.html) application later in 2014, as part of a major revamping of that tool.
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 01, 2014, 06:34 PM
Let me explain what motivated the coding of Process Piglet.

Every so ofter i notice my browser and often my entire computer is slowing getting less responsive and grinding to a halt.

When this happen I open up the task manager, and inevitably I discover that some application, almost always the Firefox web browser, os starting to consume GIGABYTES of memory.

Now I like Firefox quite a bit, and i'm not ready to give up on it -- but i need an easy way of getting some advance notice when it's going to shit the bed and start leaking memory, and an easy way to restart it when it does.

That's the kind of situation Process Piglet is for -- it should help give you an early warning when an application is starting to leak memory or otherwise get out of control in terms of memory consumption.

Where Process Tamer was designed to detect applications that were using high amounts of CPU, Process Piglet is designed to find applications that go crazy with memory use.



One important thing to understand is that Process Piglet does *NOT* have an absolute notion of high memory use -- it only cares about when applications start to consume increasingly large amounts of memory -- so it won't detect an application that immediately reserves a ton of memory, and it won't detect an application that barely uses any memory and leaks a tiny bit.  It's much more focused on catching the sneaky perpetrators that gradually use up all your memory without you noticing until it's too late.
Title: Re: NANY 2014 Release: Process Piglet
Post by: rgdot on January 01, 2014, 07:06 PM
Why didn't you do this when I asked a while ago? https://www.donationcoder.com/forum/index.php?topic=35209.0  ;D

Not exactly this but the motivation was very very close.

Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 01, 2014, 07:12 PM
Well now that I've dived back into this realm, we should revisit some of these ideas -- Process Piglet was just meant to be a toe in the water, I do hope to add more customizable event detections, etc.
Title: Re: NANY 2014 Release: Process Piglet
Post by: rgdot on January 01, 2014, 07:36 PM
Will use this as is and look forward to more, thanks as always  :Thmbsup:
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 01, 2014, 09:57 PM
First post updated to show that new version main window now lists the top memory consumers, with right-click menu to terminate, restart, or explore.  That's a bit more useful I think.

(The top memory consumers list shows a list of all processes eating more than 50mb, sorted with highest-offenders at the top; it will be updated live whenever the form is on screen).
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 01, 2014, 10:56 PM
You can now use options to give yourself a very small window of top memory consumers that can be made to stay on top of other windows.  Maybe useful if you want to keep an eye on something:

(https://www.donationcoder.com/Software/Mouser/ProcessPiglet/screenshots/piglet4.png)
Title: Re: NANY 2014 Release: Process Piglet
Post by: tomos on January 02, 2014, 05:29 AM
Love the name & icon :up: :D
Title: Re: NANY 2014 Release: Process Piglet
Post by: TaoPhoenix on January 02, 2014, 08:21 AM
I'd be surprised if the "Firefox Twins" (FF and Pale Moon) really chew up that much memory per se - MS Sec Essentials is usually the one that gets out of hand for me, but it's an AntiVirus so I don't know what I can really do about it except let it do its thing.

Update:
It/They apparently do. Here's Process Piglet at work catching Palemoon jumping up 100 megs:
[ You are not allowed to view attachments ]

Update2:
This little tool is growing on me. PaleMoon jumped from 300 megs to 411 megs! No wonder my poor laptop with only 500 megs struggles to run it!

And PaleMoon was supposed to be "optimized" for Windows!

So I guess I'm a little sad that in 2014 it takes 411 megs to render a set of webpages.

Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 02, 2014, 06:30 PM
Updated first link with a video:

[ You are not allowed to view attachments ] (https://www.donationcoder.com/screencasts/dc/3ds/piglet/piglet.html).
Title: Re: NANY 2014 Release: Process Piglet
Post by: Ath on January 03, 2014, 02:40 AM
Small issue maybe; with high memory values, ProcessPiglet is reporting negative numbers:
[ You are not allowed to view attachments ]

while the overview windows show normal, positive, values:
[ You are not allowed to view attachments ]

System is Windows 7 x64, with 16 GB total RAM
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 03, 2014, 03:00 AM
Oops!  :-[

Can you re-download the new version and let me know if i fixed it?
Title: Re: NANY 2014 Release: Process Piglet
Post by: techidave on January 03, 2014, 05:23 AM
nice app, Mouser.  I just downloaded it on my Win 7 system.  I noticed that Firefox with 5 open tabs was consuming around 275 meg.  I changed one tab to Facebook 9still only 5 tabs open) and the usage went up to 350meg.

how interesting.  I change it back to the original tab which was a national weather service page and it dropped to 288 meg.

the more FB tabs i have open, the more memory it uses.   :(
Title: Re: NANY 2014 Release: Process Piglet
Post by: tomos on January 03, 2014, 05:38 AM
^ you're doing well there Dave - my FF starts at 400+mb and goes up from there (also Win7 but x64 - maybe it depends how much memory is installed).


Edit// meanwhile the associated FlashPlayer plugin is using 1383mb... (playing a YT video is hard work!)
Title: Re: NANY 2014 Release: Process Piglet
Post by: techidave on January 03, 2014, 06:20 AM
Mouser, I got the following error when I installed this at work.  My computer is part of a domain and the document folder is redirected to the server, hence the F drive.

it says: ATTN: Error Creating Log file
\\fserver\xxx\dave\my documents\donationicoder\processpiglet\operationslog.txt

so how do i fix this?
Title: Re: NANY 2014 Release: Process Piglet
Post by: techidave on January 03, 2014, 06:24 AM
it won't let me save the ini files either.  same reason.  it redirected to H and not F drive.  Also since I am not win 7, it should just be DOCUMENTS folder and not My Documents.
Title: Re: NANY 2014 Release: Process Piglet
Post by: Ath on January 03, 2014, 07:24 AM
Can you re-download the new version and let me know if i fixed it?
Now I get nice positive values in the message, great :up:
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 03, 2014, 07:59 AM
Thanks Ath.

techidave, you can edit the ConfigDir.ini file to tell it where to save files.
Title: Re: NANY 2014 Release: Process Piglet
Post by: techidave on January 03, 2014, 08:35 AM
it appears its working after that.  i just removed the slash marks in front of CONFIGDIR=.

no errors at the moment.

thanks, Mouser
Title: Re: NANY 2014 Release: Process Piglet
Post by: TaoPhoenix on January 03, 2014, 02:54 PM
Well I had thought that PaleMoon/Firefox "had solved the memory leaks". Apparently according to piglet, not exactly.

Can someone explain what the browser is *doing* with all that space? You can go to some random webpage (not even a video) and all of a sudden it spikes!

Title: Re: NANY 2014 Release: Process Piglet
Post by: skwire on January 03, 2014, 03:13 PM
Beautiful little app, mouser.  I really like programs like this.  One app, one purpose.
Title: Re: NANY 2014 Release: Process Piglet
Post by: wraith808 on January 03, 2014, 03:30 PM
Well I had thought that PaleMoon/Firefox "had solved the memory leaks". Apparently according to piglet, not exactly.

Can someone explain what the browser is *doing* with all that space? You can go to some random webpage (not even a video) and all of a sudden it spikes!



Well, I will say that I do have a question in regards to PP...

If you look at memory like a series of cells
(with U= in use, and F = free)

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

And then load a program

UUUUUFFFFFFFFFFFFFFFFFFFFFFFFFFFFF

Then the program has to do something, i.e. load a tab, that will spike usage for a brief time

UUUUUUUUUUFFFFFFFFFFFFFFFFFFFFFFF

And then gives that memory back... though its not contiguous

UUUFFFFFUUFFFFFFFFFFFFFFFFFFFFFFFF

And then does this a few times without compacting, because nothing else needs the memory currently...

UUUFFFFFUUUUUFFFUUFFFUUFFFFFFFFFF

What would PP show in that case?  Because that's a lot of the way that memory management in a garbage collected world works.  Working Set is the current size, in bytes, of the Working Set of this process. The Working Set is the set of memory pages touched recently by the threads in the process. If free memory in the computer is above a threshold, pages are left in the Working Set of a process even if they are not in use.  When free memory falls below a threshold, pages are trimmed from Working Sets. If they are needed they will then be soft-faulted back into the Working Set before leaving main memory.

Is the memory being reported the WS Private or the WS Sharable?

A good explanation that goes into it better than I can: http://cybernetnews.com/cybernotes-windows-memory-usage-explained/
Title: Re: NANY 2014 Release: Process Piglet
Post by: TaoPhoenix on January 03, 2014, 04:15 PM
Hmm. "...And then does this a few times without compacting."

Maybe. But then I'd wish the browsers would do their own compacting and go "back down" to a sensible size. I guess it's a vestige bit of being a luddite where I just hate to see "huge" memory usages for viewing what should be a "simple" web page. Maybe the Plugins get involved too.

Update:
I still don't like seeing 416 megs used, but I have spotted a "process Palemoon.exe has gracefully lowered its memory use" message!

Title: Re: NANY 2014 Release: Process Piglet
Post by: TaoPhoenix on January 03, 2014, 04:48 PM
I eventually turned it off now that I know how silly programs can get.

Title: Re: NANY 2014 Release: Process Piglet
Post by: wraith808 on January 03, 2014, 05:07 PM
Hmm. "...And then does this a few times without compacting."

Maybe. But then I'd wish the browsers would do their own compacting and go "back down" to a sensible size. I guess it's a vestige bit of being a luddite where I just hate to see "huge" memory usages for viewing what should be a "simple" web page. Maybe the Plugins get involved too.

Update:
I still don't like seeing 416 megs used, but I have spotted a "process Palemoon.exe has gracefully lowered its memory use" message!



Garbage collection is very processor intensive in many cases.  So you'd get into a position where your browser was regularly slowing down your machine rather than just appearing to use a lot of memory.
Title: Re: NANY 2014 Release: Process Piglet
Post by: TaoPhoenix on January 03, 2014, 06:27 PM
Hmm. "...And then does this a few times without compacting."

Maybe. But then I'd wish the browsers would do their own compacting and go "back down" to a sensible size. I guess it's a vestige bit of being a luddite where I just hate to see "huge" memory usages for viewing what should be a "simple" web page. Maybe the Plugins get involved too.

Update:
I still don't like seeing 416 megs used, but I have spotted a "process Palemoon.exe has gracefully lowered its memory use" message!



Garbage collection is very processor intensive in many cases.  So you'd get into a position where your browser was regularly slowing down your machine rather than just appearing to use a lot of memory.

Some of all this does matter though, because I have an older laptop with only 500ish megs of ram! So I def see performance lags on that laptop, so if the browser is using that all by itself, then the laptop might be desperately caching to keep up.

Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 04, 2014, 10:49 AM
Is the memory being reported the WS Private or the WS Sharable?
A good explanation that goes into it better than I can: http://cybernetnews.com/c...s-memory-usage-explained/

This is a good question -- the memory use statistic is a confusing thing.

In Process Piglet you can choose whether the program should look at Working Set or Virtual Memory (or an average of the two):
[ You are not allowed to view attachments ]

Essentially, as I understand it, Working Set (the default metric used) is the Physical Memory actually currently being used exclusively by the given process.  This is a reasonable measure of how much of a hog the process is, and is what MS listed under "Mem Usage" in the task manager (at least on Win XP).  Now Windows will allow processes to reserve more memory and can keep some of this memory paged-out of physical ram.  The total memory being addressed by a process is the Virtual Memory size, and can sometimes be significantly larger than the physical memory use of the program.

Truthfully none of these provide a complete view of how badly a processes memory use is going to affect your computer, but as these values increase into the hundreds of megabytes, and keep growing, there's a high likelyhood you're going to start to feel the slowdown.

The aim of Process Piglet is to spot conditions that look like they might be of concern, and rely on user to decide if they really are something to worry about.



Some resources discussing memory that i've found useful:
http://stackoverflow.com/questions/252597/mem-usage-higher-than-vm-size-in-winxp-task-manager
http://msdn.microsoft.com/en-us/library/windows/desktop/cc441804%28v=vs.85%29.aspx
http://blogs.technet.com/b/markrussinovich/archive/2008/11/17/3155406.aspx
http://blogs.msdn.com/b/ntdebugging/archive/2007/10/10/the-memory-shell-game.aspx
Title: Re: NANY 2014 Release: Process Piglet
Post by: wraith808 on January 04, 2014, 11:59 AM
Yeah... memory usage is a big black hole at times.  Even on Windows XP where it shows the Mem Usage- that's a combination of WS Private and WS Shared.

There's three sets from what I understand- the virtual memory (which I didn't even touch on), the Private Working Set (the memory recently touched by the application and not a candidate for Garbage Collection) and the Sharable Working Set (the memory not recently touched and is a candidate for Garbage Collection).  Windows uses the Free memory first- it's easier to allocate, and is not a big processor or disk I/O drain.

It might be good to include a summary of memory usage and perhaps links to a couple of non-technical (or less technical) explanations, so that people that download that don't have an idea of how memory work have a better idea of how to use process piglet.

Some of all this does matter though, because I have an older laptop with only 500ish megs of ram! So I def see performance lags on that laptop, so if the browser is using that all by itself, then the laptop might be desperately caching to keep up.

Actually, it still doesn't, even with less memory.  The only way to make it not matter, is not to load the memory in the first place.

Ever been working for a while on your machine, then all of a sudden the disk light comes on and the entire machine just grinds to a halt?  Even your mouse might start flaking out, or not move at all.  And it might seem like your machine is completely locked.  But if you wait for a while (a few minutes- maybe even 10-20 in bad cases), the machine becomes usable again?

That's Garbage Collection at work.  When there's no more physical memory, the machine pages everything out to disk, then starts to stack them up in order by process so that the memory is nicely arranged, and the free memory is collected from each process, and at the end of the stack.  It takes a while, and uses up your entire processor.

And because of how intensive it is, a programmer can't even make it happen in a managed programming language (most of the more recent ones).  You can request it to happen as soon as possible, but you can't make it happen.  Mostly because it's something that you should let the OS take care of by design.
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 04, 2014, 12:09 PM
It might be good to include a summary of memory usage and perhaps links to a couple of non-technical (or less technical) explanations, so that people that download that don't have an idea of how memory work have a better idea of how to use process piglet.

yes, that's a good idea, i will do so.

the other thing i will try to add is some reporting on and alerting on generic conditions that might suggest the system is having trouble with memory -- by looking at free memory and page faults, etc.  I'd love to hear any heuristics that you might suggest that would avoid false alarms.



i'm by no means an expert on windows memory issues -- so i'd really welcome help figuring out which metrics (both process-specific and system-wide) would be good for Process Piglet to pay attention to -- i'm open to performing some more involved computations, but the raw data is coming from PROCESS_MEMORY_COUNTERS_EX (http://msdn.microsoft.com/en-us/library/windows/desktop/ms684874%28v=vs.85%29.aspx).

wraith i'm looking at you!!
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 12, 2014, 09:03 PM
v1.01.12 - Jan 12, 2014
[Feature] Added option to play sound on alert.
[BugFix] Fixed issues where alerts were not visible behind other windows.
Title: Re: NANY 2014 Release: Process Piglet
Post by: rgdot on January 14, 2014, 06:08 AM
Mentioned on ghacks (http://www.ghacks.net/2014/01/14/process-piglet-monitor-running-processes-high-memory-usage/)  :up:
Title: Re: NANY 2014 Release: Process Piglet
Post by: Scott_Y on January 14, 2014, 11:40 AM
... MS Sec Essentials is usually the one that gets out of hand for me, but it's an AntiVirus so I don't know what I can really do about it except let it do its thing.
You might try to find out if MS Security Essentials is using a lot of memory scanning a particular process. If so, and if you are sure that process is safe, you could try excluding it from MSE scans (go to MSE settings > Excluded Processes).
Title: Re: NANY 2014 Release: Process Piglet
Post by: B4Marc on January 14, 2014, 11:45 AM
This is great, I was looking for a program that can tell me when a pc game got some memory leak,  :Thmbsup:

Thank you  :)
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 14, 2014, 12:14 PM
I hope it's useful for you B4Marc -- do keep in mind that there is no way to explicitly check for memory leaks in other programs, and Process Piglet is not magic.  But it may help you identify any really bad memory leakers who keep using increasingly large amounts of memory.
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 14, 2014, 12:43 PM
Mentioned on rgdot (http://www.rgdot.com/bl/2014/01/03/process-piglet-whats-eating-ram/) :)
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 14, 2014, 12:43 PM
v1.01.14 - Jan 14, 2014
Title: Re: NANY 2014 Release: Process Piglet
Post by: longrun on January 14, 2014, 05:11 PM
Great little utility. Opera v11.64 is using 623 MB, but I've got about 40 tabs open.

Interestingly, CrashPlan is using only 241 MB on my machine. I wonder how much this varies by machine or OS. I had horrible CPU usage problems with CP on my XP machine; they've completely disappeared on my Windows 7 notebook.

Can someone explain how Firefox, which has millions of users and dozens or hundreds of contributors, fails to correct this basic flaw?

In March 2005 I joined DC after downloading mouser's Process Tamer, which I still use occasionally. Nine years later here's Process Piglet.
Title: Re: NANY 2014 Release: Process Piglet
Post by: rgdot on January 14, 2014, 07:03 PM
Thanks for the mention mouser :)
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 14, 2014, 07:09 PM
don't be so shy about posting on dc when you write something on your blog!  when you write something about software (dc or otherwise), make a post about it.  the least we can do here is be a place we can talk about our writings and projects.
Title: Re: NANY 2014 Release: Process Piglet
Post by: Scott_Y on January 16, 2014, 12:30 AM
Process Piglet doesn't report processes such as svchost.exe and MsMpEng.exe (MS Security Essentials). I'm curious why that may be. Thanks.
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 16, 2014, 02:01 AM
It should; it does here.

One thing to remember is that when piglet starts up it checks the memory use of these processes, and thereafter reports when they grow significantly beyond their initial memory use.

If that doesn't clarify the issue, give me some more details regarding what you think it should be doing and what it isn't doing.
Title: Re: NANY 2014 Release: Process Piglet
Post by: TaoPhoenix on January 16, 2014, 02:47 AM
It should; it does here.

One thing to remember is that when piglet starts up it checks the memory use of these processes, and thereafter reports when they grow significantly beyond their initial memory use.

If that doesn't clarify the issue, give me some more details regarding what you think it should be doing and what it isn't doing.

Quick guess is that those progs remain stable in memory though at a bad CPU use when they misbehave. I haven't bothered to check MsSecEss memory wise, but CPU wise could be a good feature because it def gets grouchy when I open a folder with 47 shortcuts and it has to resolve them, it freaks out. (MsSecEss)

Title: Re: NANY 2014 Release: Process Piglet
Post by: oblivion on January 21, 2014, 02:03 AM
Read this with some interest, and I've shoved The Piglet onto my netbook to see how it behaves.

Neat little program. (And I also think the name, and the associated notifications, are a tiny bit fabulous: "Process firefox.exe has pigged out!" I think this is the first notification I've seen that's really made me smile since an old DOS program gave me "Unknown error: get drunk!")

I'd like to cast a vote for leaving it separate to Process Tamer: I use Process Lasso to look after cpu usage but Piglet's a useful adjunct to it, whereas I wouldn't want to risk running PL and PT alongside each other...
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on January 23, 2014, 04:22 AM
Nice write up at "Dave's Computer Tips" by Jim Hillier:
http://www.davescomputertips.com/monitor-high-ram-usage-with-process-piglet/

And at Lifehacker Australia:
http://www.lifehacker.com.au/2014/01/track-the-memory-usage-of-your-windows-applications/

And here: http://www.drakeintelgroup.com/2014/02/12/process-piglet/
And here: http://www.softpedia.com/get/System/System-Info/Process-Piglet.shtml
And here: http://www.trishtech.com/2014/02/memory-usage-process-piglet/
Title: Re: NANY 2014 Release: Process Piglet
Post by: Joe Hone on February 10, 2014, 10:42 PM
Featured today at freewaregenius: http://www.freewaregenius.com/come-awesome-freeware-check-nany-2014/

Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on February 13, 2014, 08:51 AM
Mike Williams at betanews wrote an intelligent review of Process Piglet:

http://betanews.com/2014/02/12/monitor-your-pc-for-memory-hogs-with-process-piglet

There are plenty of more sophisticated ways of monitoring RAM use, but Process Piglet is still a likeable tool, easy to use and very configurable. If you're having system resource issues and want to track what applications are doing over time, then we'd give it a try.
Title: Re: NANY 2014 Release: Process Piglet
Post by: J-Mac on May 17, 2014, 11:16 PM
Mouser,

Any way to alter the initial read of the memory? As soon as I open Firefox Piglet starts squawking. I believe that the initial "average" of Firefox memory is too low. Otherwise why would it immediately start flagging Firefox when Firefox's memoiry usage is not increasing very much at all?

No way to manually override the memory setting?

Thank you.

Jim
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on May 18, 2014, 11:20 AM
Stay tuned I will add an option to let you tell Piglet to take a longer time to establish baseline memory use for processes.
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on May 18, 2014, 11:39 AM
Just a quick check -- it looks like my code gives processes a very generous 30 seconds to establish a baseline memory use.. That should be enough to prevent "As soon as I open Firefox Piglet starts squawking".

So there should be no alerts for any process until its been running for at least 30 seconds.  If we find that isn't true then it's a bug.  Any insight into whether your alerts were coming before firefox was running for at least 30 seconds?
Title: Re: NANY 2014 Release: Process Piglet
Post by: J-Mac on May 19, 2014, 09:47 PM
Doesn’t help, mouser.

Firefox, being a browser, takes at least that much time to fully load up all tabs that are open at the time it is started. As you open more tabs, or start a Flash video in a tab, etc., the memory will naturally increase. Mem usage will continue to fluctuate as you open and close tabs. If there isn't a way to have the memory average be dynamic - or allow it to be set manually, then Piglet is going to be of little or no use with regard to the memory used by browsers.

Jim
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on May 19, 2014, 10:38 PM
what ideally would you like Process Piglet to do about it?  you can exclude it from monitoring -- but short of that what would you want it to do?
Title: Re: NANY 2014 Release: Process Piglet
Post by: J-Mac on May 20, 2014, 12:35 AM
Manually set a higher limit? If nothing at all, then I don’t think it will be working correctly with most tabbed browsers.

Just my opinion... Don’t have a cow, man!

Jim
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on May 20, 2014, 01:05 AM
A higher limit to what?
Title: Re: NANY 2014 Release: Process Piglet
Post by: J-Mac on May 20, 2014, 12:15 PM
A higher limit to what?

Never mind. Not a problem for me anymore.

Thank you.

Jim
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on May 20, 2014, 12:21 PM
Jim, if i came across as combative, I didn't mean to!  I probably didn't express myself well.  I was just trying to ask for suggestions for options I could add to make it more useful.
Title: Re: NANY 2014 Release: Process Piglet
Post by: ruskiem on August 10, 2014, 05:11 AM
Hiii mouser.

I have few FireFoxes on a greasmonkey script.
Sometimes theres a huge memory leak up to 3GB of ram.
Seems like Your progs can be usefull, if he could automaticaly terminate the firefox after he reach limit.
in my case just terminate, not restart.

Is it easy to implement for You?
Im not sure if i should bother You, because thats kinda simple mechanizm, i should find some autoit somewhere i guess

Best Wishes
Ruskiem

Edited:

Yeeeaaas, definitely need that auto terminate on reach x MB option.
I consider a donatiooon! ;>
Okay i will do it! just implement that please? ;D


Title: Re: NANY 2014 Release: Process Piglet
Post by: IainB on July 16, 2015, 12:12 PM
Cross-posted from: Re: Software wanted: warn when free RAM falls below xxx MB (https://www.donationcoder.com/forum/index.php?topic=41274.msg385027#msg385027)
I had completely forgotten about, or had not noticed that - NANY 2014 Release: Process Piglet (https://www.donationcoder.com/forum/index.php?topic=36915.msg345672#msg345672).
Looks quite handy anyway.
By the way, that's an interesting introductory video you made for it @mouser - thanks.
I'd be keen to see it merged with Process Tamer like you suggest though.
Title: Re: NANY 2014 Release: Process Piglet
Post by: AJolly on April 19, 2017, 05:40 PM
I'd love if it tracked private memory usage rather than total - so I could tell when a chrome tab is taking up a ton of memory for example :)
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on April 19, 2017, 05:44 PM
On the Memory Options tab you can choose what statistic to track.
Title: Re: NANY 2014 Release: Process Piglet
Post by: AJolly on May 04, 2017, 07:15 PM
It lets me track working memory, or virtual memory, but not private memory. 
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on May 04, 2017, 07:20 PM
Let me look into that.
Title: Re: NANY 2014 Release: Process Piglet
Post by: AJolly on May 04, 2017, 07:40 PM
Thanks!
This really matters for chrome - I want it as a way to alert me when some tab suddenly has a memory leak and uses much more ran than expected. 

Right now, there is one chrome process that has a gig of working memory, but its private memory is half that, which is really the stat that matters. 
Title: Re: NANY 2014 Release: Process Piglet
Post by: mouser on November 04, 2018, 04:37 AM
ProcessPiglet Beta:

v1.02.01 - Nov 4, 2018

Download beta:

I'd welcome any bug reports or feedback.