my $size = `ps -p $$ -h -o size`;
This reports the size of the process in K.
In reply to Re: How much memory am I using? by pc88mxer in thread How much memory am I using? by mildside