New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error initializing large array on Windows (64-bit) #6273
Comments
From @mschaThe following script: #!/usr/bin/env perl6 use v6.c; sub MAIN(Int $n = 20_000_000) fails on my Windows machine: Unable to allocate an array of 20000000 elements This is a Windows 10 64-bit machine, running the official 64-bit Rakudo The machine has 16 GB of memory, and at the moment, 48% is in use. The same script on my Linux server (with a self-built Rakudo Star |
From @zoffixznetOn Fri, 26 May 2017 11:58:50 -0700, perl6@mscha.org wrote:
Confirmed on 2017.04.3-293-ga7c23aa Rakudo on Win10 Pro. Crashes almost instantly. Task manager tells me I still have 6.4GB of free memory. Tried in command prompt run as administrator as well; same issue. The same script works fine on 2017.05-132-gc5398c8 in a Bodhi Linux 4GB RAM VM running inside that Win10 and uses 229MB of RAM: $ /usr/bin/time ./perl6 foo.p6 |
The RT System itself - Status changed from 'new' to 'open' |
From @zoffixznetThe problem still exists on 2017.07 Rakudo Star, on 64-bit Win7 |
From @ugexeLargest I can initialize is 16777216. |
From @dogbert17On Thu, 24 Aug 2017 08:14:07 -0700, ugexe@cpan.org wrote:
Should be fixed with commit MoarVM/MoarVM@f9b65a9 |
Migrated from rt.perl.org#131375 (status was 'open')
Searchable as RT131375$
The text was updated successfully, but these errors were encountered: