in reply to Re: Re: Re: Force perl to release memory back to the operating system
in thread Force perl to release memory back to the operating system

I don't think this is solving anything, because (as I understand the OP) the files are of transactions, not customers and balances.

If each entry in the file was a customer and a balance, one run through would be sufficient, just keeping the top 30 customers.

It's more complicated than that, and a nightmare without a RDB.
  • Comment on Re: Re: Re: Re: Force perl to release memory back to the operating system

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Force perl to release memory back to the operating system
by tachyon (Chancellor) on Sep 25, 2003 at 11:01 UTC

    You can that there are multiple transactions per customer with the bit of code that has:

    $hash_ref->{$cust} += balance * $fudge_factor

    Agree PHB needs shooting. Saying you can't use a RDBMS when it is suited to the job is like saying OK David, I'm sorry but you can't use one of the surplus RPGs we are tripping over, but can you go an kill that really big Goliath guy over there with this slingshot..... Oh and we are out of pebbles too. But don't worry I have faith that you will get this done on time and under budget.....

    cheers

    tachyon

    s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print