| > Then I had tried to sach some of the code and
> found that some variables are allocated memory and
> seems to be never freed.
> NOSTATIC_RESERVE(buffer, char, 8192); > 8192 bytes
Don't use 3.40 releases or lower releases - they are clearly not very well
thread-safe.
Use the latest beta (3.41-beta-3), which now allocates all objects in the
context, and should be MUCH more therad-safe.
The 3.41-beta series no longer use thread variables, and no longer use global
variables (at least nearly no global variables).
Do not hesitate to report leaks or thread-safety problems with this release:
I'm currently trying to cleanup the code and make it totally safe.
| |