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

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.

Replies are listed 'Best First'.
Re^4: Out of Memory 2.
by dneedles (Sexton) on Oct 25, 2008 at 21:00 UTC
    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.