in file
src/cutil.c
you can set logMemory to 1. Then run Scid (output into a log file) and your
favorite functions and you can use
pocket/checkmemlog.tcl
to check if some memory is unfreed. Maybe you will have trouble with those
tools but they helped me some time ago.

I wrote those utilities to make sure there were no memory leaks on Pocket
PC, but be aware that some part of Scid leaks memory (on PC) on purpose for
efficiency.

Pascal

2009/2/26 Joost ´t Hart <[email protected]>

> Hi,
>
> I think I spotted a memory leak in the spelling correction code.
>
> For the mapping of the new name id's and the life span checking, three
> arrays are allocated, of which only the id list is properly freed before
> the operation terminates. The date lists are not.
>
> For a reasonably big database (of let's say 100.000 player names), this
> would eat about 800KB of heap space per correction run.
>
> Anyone suspected something in this area before?
>
> Joost.
>
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco,
> CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> Scid-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/scid-users
>
>
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to