I have a ssh workspace that throws me spawn ENOMEM after using for sometime. On checking for issue I could find that this happens because the machine goes out of memory. On further analysis, I found the reason why the machine runs out of memory. The reason is whenever I refresh the workspace or close and open a terminal I see a defunct (Zombie) tmux process being created. This happens everytime I run a build in the workspace as well.
Can anyone please help me out to resolve this.