Please Help,
There is a big memoryleak in the Pythondriver.
I am using
Version: sapdbpy 7.3.0 Build 034-000-000-000
But it occurs with all newer/older versions that I tested.
(Also tested with version 7.5 of maxdb!!)
We are using a server written in python as a middleware
for Databaseconnections.
This memory-leak is fatal for us,
because after several days the python servers use
some hundreds of MB because of the memoryleak in the driver.
Thank you very much in advance,
Greetings, Andre'
Script to reproduce:
------------------------------------------------------------------------------------------------------
#!/usr/bin/python
import sapdb
import os,time
#try this:
sql="SELECT 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
FROM DUAL"
#or that:
sql="SELECT NULL FROM DUAL"
connection=sapdb.connect("yyy","xxx","DB","host")
while 1:
rset=connection.sql(sql)
rset.next() #<<<this causes a memory leak, remove this line and everything is
ok
print open("/proc/%i/status" % os.getpid()).read()
#please watch 'VmSize:' of the output
--
__________________________________________________________________________
Als Technologieunternehmen konzipieren und entwickeln wir ma�geschneiderte Feedback-
und
Monitoring-Systeme - wie beispielsweise L�sungen f�r Beschwerde- und Ideenmanagement.
Mit dem Inquery� Survey Server bieten wir eine der leistungsf�higsten Standardl�sungen
f�r
Online-Umfragen mit dem Schwerpunkt auf der Messung von Kundenzufriedenheit an.
__________________________________________________________________________
Inworks GmbH
Andre Reitz, Leiter Entwicklung
H�rvelsinger Weg 39, 89081 Ulm, Germany
Tel +49 (0) 731 / 93807-21
Fax +49(0)731/93807-18
Internet: http://www.inworks.de
--
MaxDB Discussion Mailing List
For list archives: http://lists.mysql.com/maxdb
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]