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
Hi all,
I want to upload a file of 6 MB with the function manage_upload
def manage_upload(self,file='',REQUEST=None):
Replaces the current contents of the File or Image object with file.
The file or images contents are replaced with the contents of 'file'.
if self.wl_isLocked():
raise
This is not a ZODB question. Ask on Zope User's mailing list.
2009/4/1 Sandra elsand...@yahoo.fr:
Hi all,
I want to upload a file of 6 MB with the function manage_upload
def
manage_upload(self,file='',REQUEST=None):
Replaces the current contents of the File or Image object with file.
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.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 01.04.2009 14:17 Uhr, Sandra wrote:
Anybody knows any way to solve
it ?
N.B: i am using Relstorage + Oracle 10i.
You might want to use the Python debugger pdb and figure out where the
code hangs - either within your application or somewhere in
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 of a old
Hello,
Does anyone know how _p_oid is generated?
I'm asking because we would like to use _p_oid as a unique key to
store BLOB-like files on the filesystem.
Of course more threads/processes/machines are in the picture.
So the question is once an object gets a _p_oid assigned, is it
guaranteed to
On Wed, 2009-04-01 at 18:28 +0200, Adam GROSZER wrote:
Hello,
Does anyone know how _p_oid is generated?
I'm asking because we would like to use _p_oid as a unique key to
store BLOB-like files on the filesystem.
Of course more threads/processes/machines are in the picture.
So the question
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
Dominique Lederer wrote at 2009-3-30 11:15 +0200:
I am using ZODB 3.8.1 with Relstorage 1.1.3 on Postgres 8.1
Frequently i am getting messages like:
Unexpected error
Traceback (most recent call last):
File
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 that
Sandra wrote at 2009-4-1 12:17 +:
...
def manage_upload(self,file='',REQUEST=None):
...
in python/OFS/image.py. But my Programm run without end.
Zope is not very efficient with uploading large files.
Thus, I may take some time -- but it should work.
I'm making some mistake ?
You should
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 are
13 matches
Mail list logo