Good questions. I updated the initial post with the following information:

1. I have a large equation that I need to manipulate. In a previous post folks tried using a variety of hashes, arrays, strings, etc to handle the manipulation. All attempts ended with Out of Memory. Hence I need to externalize parts of the equation into files or some other non RAM memory store.

2. Tried on Linux (RedHat), Solaris, Windows XP on 5 machines ranging from 4 core to 8 core with 4-16 gigs of memory.

3. Yes 5.8 and 5.10

4. I've tried a variety of PERL based constructs to store and manipulate the symbolic equation - hash, arrays, strings. I've tried a couple different versions of PERL (due to different versions being on different systems)

5. Thanks! Is there an equivallent for windows?

Overall I am looking for an approach which I thought would be independent of these tactical factors. That is, if you have a program that runs out of RAM and given PERL is relatively OS independent, is there a common preferred way to manage this situation. I was thinking databases were the way to go but I am not sure.

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.