update memory usage and expose forwarded port