Memory Usage

THIS HAS BEEN SOLVED.

I've noticed the nwu-server is using an unacceptable ammount of memory.

We must delete all references to objects we are not using. Use gc module to keep track of that.

After a few operations:

# ps aux|grep nwu-s
root     15075  0.0  7.4  9572 7600 pts/1    S    01:00   0:00 /usr/bin/python /usr/sbin/nwu-server

Leaking memory:

# ps aux|grep nwu
nwuserv  12012  0.0 31.2 49428 31692 ?       S    Apr08   0:24 /usr/bin/python /usr/sbin/nwu-server
import gc

gc.set_debug(gc.DEBUG_STATS | gc.DEBUG_UNCOLLECTABLE | gc.DEBUG_OBJECTS)
-->