Antonio Beamud Montero wrote at 2006-3-23 09:26 +0100:
> ...
>But my server doesn't free any memory, now it uses 55Mb of resident
>size... How I can debug this "references"?
It has no chance -- and this is neither the fault of Python nor
of the ZODB but of "C"'s standard memory management:
"C"
El vie, 24-03-2006 a las 10:25 -0300, Sidnei da Silva escribió:
> On Fri, Mar 24, 2006 at 02:20:06PM +0100, Antonio Beamud Montero wrote:
> | > | I think I will remove ZODB from my server and use a SQL Object mapper
> | > | like SQLObject to see if I can get an stable server, or the dbapi
> | > | d
On Fri, Mar 24, 2006 at 02:20:06PM +0100, Antonio Beamud Montero wrote:
| > | I think I will remove ZODB from my server and use a SQL Object mapper
| > | like SQLObject to see if I can get an stable server, or the dbapi
| > | directly.. my experience with ZODB and threads has been a nightmare :(
|
> | I think I will remove ZODB from my server and use a SQL Object mapper
> | like SQLObject to see if I can get an stable server, or the dbapi
> | directly.. my experience with ZODB and threads has been a nightmare :(
> |
> | A lot of thanks for your help, but this server is in a production/stabl
On Fri, Mar 24, 2006 at 11:12:19AM +0100, Antonio Beamud Montero wrote:
| El jue, 23-03-2006 a las 15:02 -0500, Tim Peters escribió:
| > [Antonio Beamud Montero]
| > > But my server doesn't free any memory, now it uses 55Mb of resident
| > > size... How I can debug this "references"?
| >
| > Many
El jue, 23-03-2006 a las 15:02 -0500, Tim Peters escribió:
> [Antonio Beamud Montero]
> > But my server doesn't free any memory, now it uses 55Mb of resident
> > size... How I can debug this "references"?
>
> Many layers are involved in memory management, from ZODB through
> Python down to your pl
[Antonio Beamud Montero]
> Well, now I can minimize the cache and get the next values (an unclosed
> connection fixed):
> [['BTrees.OOBTree.OOBTree', 3], ['Persistence.PersistentMapping', 6],
> ['request.Request', 14], ['status.Status', 3]]
>
> But my server doesn't free any memory, now it uses 55
El mié, 22-03-2006 a las 20:55 +0100, Dieter Maurer escribió:
> Antonio Beamud Montero wrote at 2006-3-22 10:56 +0100:
> > ...
> >If I exectue a .minimizeCache(), then the output is:
> >
> >[['request.Request', 504]]
> >
> >But I can't minimize more the cache...
>
> Looks as if your application ke
Antonio Beamud Montero wrote:
But I can't minimize more the cache... What I need to do to free more
memory space, because this always grows...
This is a problem with python, I hear rumours it'll be fixed in Python 2.5.
cheers,
Chris
--
Simplistix - Content Management, Zope & Python Consultin
Antonio Beamud Montero wrote at 2006-3-22 10:56 +0100:
> ...
>If I exectue a .minimizeCache(), then the output is:
>
>[['request.Request', 504]]
>
>But I can't minimize more the cache...
Looks as if your application keeps references to your "request.Request"
objects. Check where and get rid of the
Hi all:
I have implemented a multi-thread server and I have several server as
ZEO clients.
In the root (ZODB) I have created 3 objects:
root['pendings'] = Status()
root['error'] = Status()
root['completed'] = Status()
Where Status is a Persistent Class, with an OOBTree attribute called
_dict, an
11 matches
Mail list logo