Issue with transactions...

[email protected] Wed, 17 Jun 2020 03:16:41 -0700 (PDT)
Newsgroups gmane.comp.web.zope.zodb
Message-ID <[email protected]>
------=_Part_2240_368508632.1592389001798
Content-Type: multipart/alternative; 
	boundary="----=_Part_2241_934925075.1592389001798"

------=_Part_2241_934925075.1592389001798
Content-Type: text/plain; charset="UTF-8"

I have noticed that during a process that the memory usage is up to 13 to 
14 GB.

I tried using gc.collect() which did nothing. So I tried a 
"transaction.abort()" and most of the memory was returned after about 2 to 
3 minutes.

This process does not change anything within the persistent objects so why 
is it adding those persistent objects to a transaction? I have added a 
"transaction.abort()" to the process and the memory stays around 370 MB.

-- 
You received this message because you are subscribed to the Google Groups "zodb" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/zodb/97717460-645c-4ab2-bd49-b8a6a8072d23o%40googlegroups.com.

------=_Part_2241_934925075.1592389001798
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>I have noticed that during a process that the memory =
usage is up to 13 to 14 GB.</div><div><br></div><div>I tried using gc.colle=
ct() which did nothing. So I tried a &quot;transaction.abort()&quot; and mo=
st of the memory was returned after about 2 to 3 minutes.</div><div><br></d=
iv><div>This process does not change anything within the persistent objects=
 so why is it adding those persistent objects to a transaction? I have adde=
d a &quot;transaction.abort()&quot; to the process and the memory stays aro=
und 370 MB.</div><div><br></div></div>

<p></p>

-- <br />
You received this message because you are subscribed to the Google Groups &=
quot;zodb&quot; group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:[email protected]">zodb+unsubscri=
[email protected]</a>.<br />
To view this discussion on the web visit <a href=3D"https://groups.google.c=
om/d/msgid/zodb/97717460-645c-4ab2-bd49-b8a6a8072d23o%40googlegroups.com?ut=
m_medium=3Demail&utm_source=3Dfooter">https://groups.google.com/d/msgid/zod=
b/97717460-645c-4ab2-bd49-b8a6a8072d23o%40googlegroups.com</a>.<br />

------=_Part_2241_934925075.1592389001798--

------=_Part_2240_368508632.1592389001798--