Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Perl memory limit - Windows64 strawberry perl

by Discipulus (Canon)
on Mar 18, 2021 at 06:57 UTC ( [id://11129893]=note: print w/replies, xml ) Need Help??


in reply to Perl memory limit - Windows64 strawberry perl

Hello sectokia,

are you sure your program is running 64bit? Check the process in the taskmanager.

Infact if anything in the chain is 32bit (the prompt used to launch the program, dependencies, external programs etc...) the resulting program will be 32bit.

L*

There are no rules, there are no thumbs..
Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Replies are listed 'Best First'.
Re^2: Perl memory limit - Windows64 strawberry perl
by sectokia (Pilgrim) on Mar 24, 2021 at 10:26 UTC

    This was indeed the problem! A bad ENV variable from some dev software was causing windows to run a 32bit cmd.exe.

    I've learned that windows has 32bit and 64bit cmd.exe in various places (System32, wow64, amd64_microsoft_... wow64_microsoft_

    Getting back to default and 64bit perl now is able to pass 8GB ram with no issues

      Happy this helped ;)

      as you are lurking the dangerous paths of this UnfortunateOS, take a read of articles in my bibliotheca about redirection because in such OS when you suspect the OS being guilty you are probably right.

      L*

      There are no rules, there are no thumbs..
      Reinvent the wheel, then learn The Wheel; may be one day you reinvent one of THE WHEELS.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11129893]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-23 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found