Possible memory leak

Andrew Kolbus andrew.kolbus at gmail.com
Mon Jun 1 21:23:56 EDT 2015


Paul,
Are you sure it's RAM usage and not your hard drive filling up?  Gnucash
does keep backup files (for 30 days in my case).  Each file is a full copy
of the gnucash accounts file, and there can be multiple backups in a single
gnucash session (especially if you're doing a lot of work over
hours/days).  I have 70 files from the past 30 days, for a total of
~100MB.  If you're hard drive is pretty full the backups could be pushing
you over the edge.

If you're confident it's RAM usage:
Are you familiar with windows task manager?  Have you used it to check
process RAM usage to see if/what is the actual problem?  Memory leaks don't
continue after the program is closed, so make sure that gnucash.exe
disappears from the process list in task manager once you close it.

In case you're not familiar:
You can load task manager by right-clicking on an empty part of the windows
task bar and choosing "Start Task Manager".  If you switch to the
[Processes] tab, you can see each running process and how much RAM it is
using.  Sort by "Image Name" and find gnucash.exe.  Mine has been running
all day and is at ~112MB.  If yours is about the same or less, sort by
memory usage and see what is actually using your RAM.  It might help to
click the [Show processes from all users] button.  If it's inconclusive,
check the gnucash memory usage when you first start it up and after you've
been using it for a while.  I don't think it should change much, and if
there's not much else running on your machine I expect it would have to get
to about 1GB before it started causing trouble.

Hope this helps.

-Andrew

On Mon, Jun 1, 2015 at 8:09 PM, Paul Warthe <warthes7 at gmail.com> wrote:

> Hi gang,
>
>
>
> Here's something which has been baffling me. I've been using GnuCash for
> about 6 months now to manage my home finances and ever since I noticed I
> have been running out of RAM. I never thought that it might be GnuCash
> until
> just recently. I had restarted my computer about a month ago and hadn't had
> time to do much on it - far too much going on in my personal life. I hadn't
> done anything with GnuCash until this past weekend when I took a couple of
> evenings to get caught up on 5 weeks of receipts, bill payments, etc. Now,
> I
> am almost out of RAM again. Thinking through my experiences of "Low Memory"
> warnings, they always seemed to come after spending time in GnuCash. I
> don't
> leave the program open, but I'm wondering if there is some memory leaking
> which continues after I close the program. After a reboot I seem to be fine
> until I use GnuCash, then eventually the memory gets used up until I reboot
> again.
>
>
>
> I started with GnuCash 2.6.3, then 2.6.5 and now 2.6.6. I am running a Dell
> Precision 360 with Windows Vista Business, Intel Core 2 6300 32-bit CPU and
> 4 GB Ram. All MS patches are up-to-date.
>
>
>
> You input in tracking this down would be appreciated.
>
>
>
> Regards,
>
> Paul W.
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
> -----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>


More information about the gnucash-user mailing list