Re: [ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Shane Hathaway
Santi Camps wrote: > I'm not saying that pickle cache was affected, I'm saying that loading > a BTreeFolder2 seems very affected. In a FileStorage system, objects > contained in the BTreeFolder are not loaded when the BTreeFolder > itself is loaded, but in RelStorage, a lot of contained objects a

Re: [ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Santi Camps
>> Hmm, I don't know how RelStorage could affect the pickle cache; the two >> have no direct interaction at all. Are you using any ZODB patches other >> than the polling patch? >> Shane Hi Shane No, just the Relstorage polling patch I'm not saying that pickle cache was affected, I'm saying tha

Re: [ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Shane Hathaway
Santi Camps wrote: >> I'm using RelStorage, but this shouldn't affect. I will try the same >> tests in a FileStorage to be sure >> > > It seems to be a Relstorage specific issue. The same tests using > FileStorage doesn't produce memory garbage ... It could be something > related to poll-interv

Re: [ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Santi Camps
> > I'm using RelStorage, but this shouldn't affect. I will try the same > tests in a FileStorage to be sure > Hi all It seems to be a Relstorage specific issue. The same tests using FileStorage doesn't produce memory garbage ... It could be something related to poll-interval parameter ? I've

Re: [ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Santi Camps
>> objects = gc.get_objects() >> objects2 = [obj for obj in objects if getattr(obj, '__class__', None)] > > (I'm a bit surprised that you get objects without a __class__ attribute > -- could you elaborate about those? Old-style class instances? > Extension types?) > No, it's just a copy & paste o

Re: [ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Marius Gedminas
On Wed, Apr 01, 2009 at 11:46:01AM +0200, Santi Camps wrote: > I'm having memory problems and, after some debugging with gc, I see > some estrange behaviours with BTreeFolder2 (or with BTrees itself, I'm > not sure). I've a BTreeFolder2 with 4 objects, more o less. > Some of them are emails.

[ZODB-Dev] Estrange behaviour with BTreeFolder2

2009-04-01 Thread Santi Camps
Hi all I'm having memory problems and, after some debugging with gc, I see some estrange behaviours with BTreeFolder2 (or with BTrees itself, I'm not sure). I've a BTreeFolder2 with 4 objects, more o less. Some of them are emails. Just accessing the container, about 700 mails are loaded in