Jeremy, I know there's an android build of stunnel.  Im not trying to be funny, but are you running stunnel on your mobile phone? :)

The latest android mobile phones include quadcore CPU's with 2GB's of RAM  It would be interesting to see how much of a load a mobile phone can handle with a USB to RJ45 Ethernet interface.

Edit:  I tried sending this earlier, but it doesn't look like it went through.  My apologies in case this is a duplicate.
------------------------


Thanks for taking the time to read this.  We're operating on a low spec system that can not be modified at this point.  stunnel was introduced at the last minute, without consideration to resource requirements and now consumes enough ram to cause the kernel to issue OOM exceptions. 
So in short, we are trying to trade increased CPU usage for less memory usage and have tried setting “sessions” to 3600 to reduce memory pressure, but unfortunately it doesn't last.
Our current solution is to cron a restart of stunnel on a regular basis, but would prefer to limit number of threads or number of cache entries or something else altogether similarly gentler.
Thanks again for your consideration and assistance in this!  If there's any specific information I can give, please let me know.
Regards,
Jeremy