<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi All,<br>
</p>
<p><br>
</p>
<p>db_text modules manages the tables data in shm_mem<br>
</p>
<p>db_text module uses pkg_mem to store query results which leads to some problems.<br>
</p>
<p><br>
</p>
<p>when we have large text files with a lot of rows (location, active_watchers, presentity), the startup procedure fetches all the records, which makes db_text copy all records from shm_mem to pkg_mem, leading to memory failures.<br>
</p>
<p><br>
</p>
<p>i now have a patch that changes this behaviour.<br>
</p>
<p>it creates temp tables in shm_mem with the results<br>
</p>
<p>if implements fetch_result so that startup procedures that fetch all rows can safely run without memory issues.<br>
</p>
<p><br>
</p>
<p>if anyone has anything against, please reply.<br>
</p>
<p>i would like to get this merged before 5.0<br>
</p>
<p><br>
</p>
<p>Thanks<br>
</p>
</body>
</html>