[obspy-users] ObsPy SeedLink client memory leak and the fix

Anthony Lomax alomax at free.fr
Wed Jan 14 12:38:10 CET 2015


Hi Brandon and Lion,

This does sound odd for language with garbage collection.  On Google 
[python memory leak "range(len"] there are apparent reports of memory 
leaks with code that contains "range(len(", but after a quick look I 
cannot see if these may relate to the current problem.  Maybe related to 
Windows???

What about changing:

         for i in range(len(bytes)):

to

         blen = len(bytes)
	for i in range(blen):

just a wild guess...

Anthony

On 14/01/2015 12:00, obspy-users-request at lists.swapbytes.de wrote:
> Send obspy-users mailing list submissions to
> 	obspy-users at lists.swapbytes.de
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.swapbytes.de/mailman/listinfo/obspy-users
> or, via email, send a message with subject or body 'help' to
> 	obspy-users-request at lists.swapbytes.de
>
> You can reach the person managing the list at
> 	obspy-users-owner at lists.swapbytes.de
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of obspy-users digest..."
>
>
> Today's Topics:
>
>     1. ObsPy SeedLink client memory leak and the fix
>        (Branden Christensen)
>     2. Re: ObsPy SeedLink client memory leak and the fix (Lion Krischer)
>
>
> _______________________________________________
> obspy-users mailing list
> obspy-users at lists.swapbytes.de
> http://lists.swapbytes.de/mailman/listinfo/obspy-users

-- 
Sent from my iClayTablet

------------------------------------------------------------------------

*Anthony Lomax*
*161 Allée du Micocoulier, 06370 Mouans-Sartoux, France*
*tel: +33 (0)4 93 75 25 02 e-mail: anthony at alomax.net 
<mailto:anthony at alomax.net>    web: http://www.alomax.net 
<http://www.alomax.net/> *

*Twitter: * *@ALomaxNet <http://twitter.com/ALomaxNet>*
*Science & Special Topics: * *http://www.alomax.net/science*
*Software: * *http://www.alomax.net/software* *- updates: * 
*https://twitter.com/ALomaxNet*
------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.swapbytes.de/pipermail/obspy-users/attachments/20150114/ff55cc79/attachment.html>


More information about the obspy-users mailing list