Memory Management



I am trying to set aside some memory for my cache (hash/array etc) in
my script.
I use the ulimit and then monitor used mem with Devel::Size and
destroy when i am close to my limit. Any ideas on how to do this
better? Can anyone please point me to a memory management routing
that
is better than what i am using, specifically something that reserves
memory for the script explicitly and does not let it over flow ( no
out of memory errors )
Thanks

.



Relevant Pages

  • Re: Problem with ASP on Webserver
    ... No, I know the memory model, I have made my own Virtual memory dump program ... function in the script ... (Accept-Language:) ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Problem with ASP on Webserver
    ... Entrek's TOOLBOX is a lot better for memory stuff. ... function in the script ... (Accept-Language:) ...
    (microsoft.public.windowsce.platbuilder)
  • Critique my code: using Lisp to parse lots of "ps -elf" files in AIX
    ... It's my first use of Lisp at work, ... and another ksh script to analyze the output. ... success using them to diagnose some of their own memory problems, ... an hour to process about an hour's worth of data (i.e. 60 data files). ...
    (comp.lang.lisp)
  • Re: Incude statement - is there such a thing?
    ... I can't imagine any memory usage issues. ... And it that WSF references ... other script files (as the Docs often suggest to be ... > you had 50 statements that you wanted to execute 1000 times in a loop. ...
    (microsoft.public.scripting.vbscript)
  • Re: PHP memory garbage collection
    ... Also if you are using php less then version 5 then be aware ... > and have more runs of the script each doing a smaller chunk of work. ... But this provider uses some other memory and time ... mem: 13984 ...
    (comp.lang.php)