PDA

View Full Version : Re: Memory leak in 5.0 CVS s/w?



John A. Tamplin
2003-11-26, 08:19
On Wed, 26 Nov 2003, Victor Brilon wrote:

> This is a little tough to do since I don't have a whole lot of free disk
> space to copy mp3s to for testing unfortunately.

You don't have to copy the mp3s -- just create a new directory and put
symlinks in it to the real files, and then point the server at that:

mkdir /tmp/test
cd /tmp/test
ln -s /my/mp3/path/[a-mA-M]* .

Then add more until you see the problem, and then start removing some of
what you added (eg: rm [a-f]*) until the problem goes away. You can thus
do a binary search on your collection, assuming the problem is a
particular file or album. If you get to adding/removing one file and that
doesn't reproduce the problem, then either it is some combination of files
or has to do with the overall size of the collection.

--
John A. Tamplin jat (AT) jaet (DOT) org
770/436-5387 HOME 4116 Manson Ave
Smyrna, GA 30082-3723

Victor Brilon
2003-11-26, 08:30
D'uoh! 10+ years of Unix hacking and I didn't think to do that ;)


John A. Tamplin wrote:
> On Wed, 26 Nov 2003, Victor Brilon wrote:
>
>
>>This is a little tough to do since I don't have a whole lot of free disk
>>space to copy mp3s to for testing unfortunately.
>
>
> You don't have to copy the mp3s -- just create a new directory and put
> symlinks in it to the real files, and then point the server at that:
>
> mkdir /tmp/test
> cd /tmp/test
> ln -s /my/mp3/path/[a-mA-M]* .
>
> Then add more until you see the problem, and then start removing some of
> what you added (eg: rm [a-f]*) until the problem goes away. You can thus
> do a binary search on your collection, assuming the problem is a
> particular file or album. If you get to adding/removing one file and that
> doesn't reproduce the problem, then either it is some combination of files
> or has to do with the overall size of the collection.
>