Re: Out of memory
| От | Jeremy Palmer |
|---|---|
| Тема | Re: Out of memory |
| Дата | |
| Msg-id | 666FB8D75E95AE42965A0E76A5E5337E06DCE2CBEE@prdlsmmsg01.ad.linz.govt.nz обсуждение исходный текст |
| Ответ на | Out of memory (Jeremy Palmer <JPalmer@linz.govt.nz>) |
| Список | pgsql-general |
Hi Jeff, < Where is the source to the function? The source is located here: https://github.com/linz/linz_bde_uploader The main function LDS_MaintainSimplifiedLayers that is being called is on line 37 is in https://github.com/linz/linz_bde_uploader/blob/master/sql/lds_layer_functions.sql. The actual out of memory exception was caught with the bde_GetTableDifferences function source file on line 3263 in https://github.com/linz/linz_bde_uploader/blob/master/sql/bde_control_functions.sql. When I was actually getting an out of memory issue when creating the tables (not maintaining them), the query that seemedto kill the transaction was the one located at line 1463 of https://github.com/linz/linz_bde_uploader/blob/master/sql/lds_layer_functions.sql.After I dropped the work_mem to 1MB itgot past that and completed ok. But during the maintenance of the table the row differences need to be calculated and thenapplied to the table. See the LDS_ApplyTableDifferences function on line 353. Regards, Jeremy ______________________________________________________________________________________________________ This message contains information, which is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not peruse, use, disseminate, distribute or copy this message. If you have received this message in error, please notify us immediately (Phone 0800 665 463 or info@linz.govt.nz) and destroythe original message. LINZ accepts no responsibility for changes to this email, or for any attachments, after its transmission from LINZ. Thank you. ______________________________________________________________________________________________________
В списке pgsql-general по дате отправления: