Skip Menu |

This queue is for tickets about the v6-alpha CPAN distribution.

Report information
The Basics
Id: 20925
Status: open
Priority: 0/
Queue: v6-alpha

People
Owner: Nobody in particular
Requestors: MARKSTOS [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.012
Fixed in: (no value)



Subject: out of memory error when trying to compile CGI::App module
Porting CGI::Application to Perl6 is a work in progress. Right now I'd just like to get what I have to compile. With v6 0.13, I get this error: $ perl -cw CGI/Application.pm Error in perl 6 parser: Out of memory during "large" request for 135168 bytes, total sbrk() is 536610816 bytes at /home/mark/src/pugs/blib6/pugs/perl5/lib/Pugs/Grammar/Base.pm line 97. Source: 'use v6-alpha; module CGI::Appl... at /home/mark/src/pugs/blib6/pugs/perl5/lib/v6.pm line 42 Error in perl 6 parser: Source: 'use v6-alpha; module CGI::Appl... at: 'sub new { # d4c7127015db5032a6... at /home/mark/src/pugs/blib6/pugs/perl5/lib/v6.pm line 42 Died at /home/mark/src/pugs/blib6/pugs/perl5/lib/v6.pm line 46. ########## The module is available here if you want to try it yourself: http://mark.stosberg.com/darcs_hive/CGI-Application-p6/lib/CGI/Application.pm Thanks! Mark
On Wed Aug 09 19:56:28 2006, MARKSTOS wrote: Show quoted text
> Porting CGI::Application to Perl6 is a work in progress. Right now I'd > just like to get what I have to compile. With v6 0.13, I get this > error: > > $ perl -cw CGI/Application.pm > Error in perl 6 parser: Out of memory during "large" request for > 135168 > bytes, total sbrk() is 536610816 bytes at > /home/mark/src/pugs/blib6/pugs/perl5/lib/Pugs/Grammar/Base.pm line 97.
After fixing a lot more syntax errors in the CGI::App port, v6 no longer returns the out of memory error. It still fails almost immediately, though, when an initial has is defined.