I am writing a program that will need to maintain 2 linked lists, one where each node will contain roughly 40bytes of data each, and the other where the nodes will contain 338bytes.
The list with the smaller nodes will probably have as many as 1,000,000 nodes, the one with the larger node sizes will have about 60,000 nodes, That comes to 40bm + 20mb, 60mb, it is possible for each of these lists to double or half in size, the size of the lists are my predictions.
so I can be using anywhere from 30mb to 120mb for these 2 lists, not counting the actual nodes themselves..
I have 1gb of ram, plus 4gb of swap. I know my system has the memory to handle this, but does perl have problems with this much memory usage?
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.