how much memory is used by certain variable?
Posted on 1998-09-02
i'm writing script, which should scan a website. it creates http request, posts it, parses returned html and stores visited urls in hash. this script use a damn lot of memory.
is there any way to find out, whether it's because of memory leak due to uncollected garbage, or it's the hash, who is using so much memory? in general, is there any way to estimate at run time the structure of memory, used by script?