On Fri September 24 2010, zhu qun-ying wrote: > Hi, > > I think I should clarify something here. The app is running in a small > device that does not have virtual memory (no swap space) and the memory is > limited (256/512 M). In peek connections, it may use up to 90% of the system > memory, and when connection goes down, memory usage is not coming down. This > leave very little memory for other part of the system, as this app is only a > small part of a bigger system. The memory usage is a big concern as it is > always running with the box. >
Perhaps you should consider a library intended for use on memory constrained devices? Dropbear is one of the decent choices. There are others. Mike > So far periodically restart the app is not a good solution. > > -- > qun-ying > > > This all seems normal. Virtual memory is not normally > > considered a > > scarce resource and unless the consumption is really > > absurd, it's not > > worth worrying about. > > > > Unless your virtual memory use grows linearly with constant > > load, it's > > generally not worth worrying about. If it grows in an > > exponentially > > decreasing way with constant load or grows linearly with > > increasing peak > > load, I wouldn't worry about it at all. > > > > DS > > > > ______________________________________________________________________ > > OpenSSL Project > > > > http://www.openssl.org > > User Support Mailing List > > openssl-users@openssl.org > > Automated List Manager > > > > majord...@openssl.org > > > > > ______________________________________________________________________ > OpenSSL Project http://www.openssl.org > User Support Mailing List openssl-users@openssl.org > Automated List Manager majord...@openssl.org > > ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org