Forum .LRN Q&A: Re: memory usage
I have also configured my AOLserver to automatically shutdown itself at 04:00 at night to reclaim some memory.
Another thing to consider is the threads. AOLserver tends to start threads when needed and kills them when they are idle. This is does a lot with the heap and should not happen too often, my server uses a fixed amount of 8 threads. If those threads are unneeded, so be it. If this is not enough so the users wait on each other, so be it.
# USE_THREAD_ALLOC tells us to try the special thread-based
# allocator that significantly reduces lock contention
(There is now a # in front.)
If you do this TCL will use its normal memory manager, which is completely thread safe. I notice no performance difference, allthough my site has rather low traffic. It saves a lot of memory.