Hmm. By default, Win32 processes are limited to 2GB of ram with the other 2GB of physical address space being reserved for kernel mode use. There are several mechanisms for going beyond that.
- There is something referred to as the /3GB switch.
This is a boot time parameter that allows user space to be extended by a specifiable amount upto the 3GB limit with the consequent reduction in the kernel mode space available. It has restrictions upon the version of the OS and the hardware in use.
- There is a thing called Physical Address Extension (PAE).
This allows some versions of win32 (probably more expensive ones:), to take advantage of installed memory beyond the 4GB limit.
- And another thing called Address Window Extensions.
This requires the application to be written to take advantage of addressing beyond the 4GB limit.
However, if your Perl script is bumping it's head upon the normal 2GB limit, it is probably time to consider your options for reducing it's memory requirements. Often that can be a relatively painless process of adjusting your algorithms or substituting less memory hungary data structures.
I won't speculate about your particular problem, but there have been several pretty successful examples of memory reduction here at PM over the last few years.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
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.