Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Out of memory problem in Windows XP 32-bit: only 1GB occupied

by BrowserUk (Pope)
on Jan 31, 2013 at 18:10 UTC ( #1016371=note: print w/replies, xml ) Need Help??

in reply to Out of memory problem in Windows XP 32-bit: only 1GB occupied

A 32-bit OS should be able to handle all 4GB.

That's not so. 32-bit windows only make 2GB of virtual memory available to each process; the other 2GB is reserved for use by the OS.

That can be extended to 3GB using a startup switch, but then executables need to be re-built with a link time option to make use of it.

"Out of memory" error. Checking the Windows Task Manager I see that Perl is only using around 1GB.

It sounds like the program is trying to extend a hash that currently has consuming at or close to 1GB of data; When perl needs to extend a hash, it doubles the size of the base element; that may well be pushing you over the 2GB limit; hence you run out of memory.

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re: Out of memory problem in Windows XP 32-bit: only 1GB occupied

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016371]
[Corion]: Meh. Some Open Source people get bought out by advertising firms to change their projects to include advertising. But nobody has approached me to buy out WWW::Mechanize ::$browser from me, to make the browsers launch an ad page ...
[Corion]: ... instead of about:blank, which the modules currently do at startup.
[Corion]: Maybe I'm too pricey. But I haven't received any offers at all ;-)
[Corion]: The ad hits from CPAN testers alone should bring in a pretty penny IMO. But maybe I misestimate the CPC that ads pay.

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (10)
As of 2017-07-24 14:20 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (354 votes). Check out past polls.