in reply to Re: Out of Memory 2.
in thread Out of Memory 2.

Thanks for the info. I updated the initial post to provide a bit more tactical info and to consolodate the answers to the many questions.

Replies are listed 'Best First'.
Re^3: Out of Memory 2.
by apl (Monsignor) on Oct 25, 2008 at 20:53 UTC
    Could you expand a little on what you're trying to do? That is to say, Matrix manipulation, Fourier Transforms, 3-D animation, etc.?

    There may already be a CPAN module optimized to the problem you're trying to solve.

      The problem is taking a simple alegebraic equation involving only (), +, and * and expanding it by muliplying through to remove the ().

      For example: (a+b+c)*(d+e) becomes: ad+bd+cd+ae+be+ce.

      The issue is the equation is 64K and the result 3 million plus independent elements. So any package would need to handle some way to deal with the RAM blow up since it appears PERL's lack of ability to page heap is what is resulting in the "out of memory!" error.