http://qs321.pair.com?node_id=736675


in reply to Memory Leak: Uses 3GB+

The code you posted accepts 5 arguments on the command line, performs an insert into a database, then exits. I don't see how this could leak memory. If you had a long running process that looped over a large amount of data and you saw the memory usage of your program increase as it ran, that would indicate a leak.

Keep an eye on just your process when running top

-- vek --