<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:70.85pt 70.85pt 56.7pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi,<span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We have developed a </span><a href="https://github.com/qgis/QGIS/pull/34988"><span lang="EN-US">QGIS data provider</span></a><span lang="EN-US"> for SAP HANA database.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Our provider passes all python tests locally, but there are multiple failed tests when the python tests are run in Travis CI.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Unfortunately, we were not able to find the cause of these failures, as they occur sporadically .<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The only explanation we have is that the server resources are exhausted and the system might run out of memory.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">With HANA plugin enabled, Travis CI installs and runs 3 databases such as PostgreSQL, Oracle and HANA.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The clean database installations require a significant amount of memory, namely PostgreSQL ~245 MB, Oracle ~3.7GB, HANA ~2.5GB.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">A more detailed information about the server resources can be found in
</span><a href="https://travis-ci.org/github/mrylov/QGIS/builds/703846786"><span lang="EN-US">this Travis build</span></a><span lang="EN-US">, where a memory information is printed before the database installations and after each test.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">As it can be seen from the logs, the memory consumption during the tests starts from 81% and reaches 97% when- the tests start failing.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">It is important to note that normally neither HANA nor Oracle tests fail. The tests start failing from Test #600 and higher.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">During our experiments, there was also a </span>
<a href="https://travis-ci.org/github/mrylov/QGIS/builds/703276812"><span lang="EN-US">build</span></a><span lang="EN-US"> the did not have any issues.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">We would be very grateful if you could take a look at the issue and assist us in resolving it.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><br>
Thank you and kind regards,<br>
Maxim<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">on behalf of the HANA Spatial Team<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>