Too much RAM allocated by webserver when executing an Insert-Statement (npgsql)
В списке pgsql-novice по дате отправления:
| От | Christian Tonhäuser |
|---|---|
| Тема | Too much RAM allocated by webserver when executing an Insert-Statement (npgsql) |
| Дата | |
| Msg-id | 000301ccd03d$4ee143b0$eca3cb10$@tonhaeuser@gmx.net обсуждение исходный текст |
| Ответы |
Complex structure storage, better in temp table or array?
|
| Список | pgsql-novice |
Hi list,
I am using Npgsql to connect from a webapplication to a PostgreSQL Database. When I insert one row into a table (containing a filestream converted to bytea) the webserver allocates too much RAM for the webserver process (around 80MB when uploading a 4 MB file) and does not deallocate the RAM after executing the statement and closing the connection.
I know this is not directly related to PostgreSQL, but maybe someone of you has already has this behaviour and has some hints for me how to make the webserver not allocate as much space or at least deallocate the RAM after finishing the insert statement.
The Npgsql statement that causes this is:
insertstatement.ExecuteNonQuery()
Unfortunately I could not yet get any help in the Npgsql forums, maybe you can help me out.
I'd be grateful for any help.
Chris
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера