SQLx threads memory leak problem
Hello!
I have a problem with SQLx module (tested on v1.76b and v1.8.1.3, linux and windows) I write plugin where I execute many querys. And I have a problem with "memory leak". In fact, I have a gigabyte memory usage for single server (after some time). I made a dump for analysis and saw that it stores all the requests maded by my plugin (found strings like "SELECT ...."). Question: What's my mistake? PS: sory for my english. PPS: For example, cite the text of the test plugin: Code:
|
Re: SQLx threads memory leak problem
No one? :)
May be wrong forum thread... |
Re: SQLx threads memory leak problem
I'm no expert at SQLx but it seems you're not freeing the handle/query, which causes it to leak if I remember correctly. I believe you free the query using the same function you use to close the connection.
Code:
SQL_FreeHandle(Query) |
Re: SQLx threads memory leak problem
Quote:
and in funkwiki and in sqlx.inc: Quote:
|
Re: SQLx threads memory leak problem
Does changing the map alleviate memory problems?
Anyway, if there is a memory leak, please post a bug report. Attach dumps or e-mail to [email protected] if too big (or contains private data). |
Re: SQLx threads memory leak problem
Shoop ma whoop. :o bailopan in amxx scripting help
|
| All times are GMT -4. The time now is 01:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.