Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #73796] rakudo compiler never builds due to thrashing

21 views
Skip to first unread message

Karthik BP

unread,
Mar 24, 2010, 2:53:13 PM3/24/10
to bugs-bi...@rt.perl.org
# New Ticket Created by Karthik BP
# Please include the string: [perl #73796]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=73796 >


Hi,
When I follow the instructions to build the p6 compiler the make runs
forever.
$ make
...
rakudo/parrot_install/bin/parrot src/gen/perl6.pbc --target=pir \
src/gen/core.pm > src/gen/core.pir
This command never ends. It runs for 48 hours or more and then my laptop
overheats and shuts down.
I'm trying to build rel#27 on Ubuntu, with gcc4.4.1, libicu4.0.1 on my
laptop having 512MB ram+750MB swap. The build seems to encounter a lot of
memory thrashing.
Please let me know what is missing. This problem of thrashing seems to have
started since rel#25.
--
Karthik

Mark Montague

unread,
Mar 25, 2010, 9:47:54 AM3/25/10
to perl6-c...@perl.org
On March 24, 2010 14:53 , Karthik BP (via RT)
<perl6-bug...@perl.org> wrote:
> I'm trying to build rel#27 on Ubuntu, with gcc4.4.1, libicu4.0.1 on my
> laptop having 512MB ram+750MB swap. The build seems to encounter a lot of
> memory thrashing.

I encountered this problem some months back on a VM guest running Fedora
11. Increasing the amount of RAM to 1024 MB solved the problem. As is
true in your case, Rakudo had previously built fine with only 512 MB RAM
but over time swapping during the build got so bad that the build would
(effectively) never complete. I strongly recommend increasing the
amount of memory to 1024 MB if you are going to build Rakudo; 512 MB is
more than sufficient for running it, however.

--
Mark Montague
mark...@umich.edu


Will Coleda

unread,
Mar 25, 2010, 9:52:27 AM3/25/10
to Mark Montague, perl6-c...@perl.org

There were some parrot memory issues that were recently fixed; I'd
recommend doing a build with a new parrot and trying again to see if
that helps.

--
Will "Coke" Coleda

Karthik BP

unread,
Apr 3, 2010, 1:40:49 AM4/3/10
to perl6-bug...@perl.org
Sure. I'll try.
--
Karthik


On Fri, Apr 2, 2010 at 4:56 PM, Moritz Lenz via RT <
perl6-bug...@perl.org> wrote:

> Please try again with the current development version of Rakudo, memory
> usage has been significantly reduced since this bug was reported.
>

Karthik BP

unread,
May 11, 2010, 12:11:39 PM5/11/10
to perl6-bug...@perl.org
Yes Moritz.
It builds fine now. Thanks!
--
Karthik


On Tue, May 11, 2010 at 4:01 PM, Moritz Lenz via RT <
perl6-bug...@perl.org> wrote:

> On Sat Apr 03 17:37:16 2010, karth...@gmail.com wrote:
> > Sure. I'll try.
> > --
> > Karthik
>

> Did you have any success?

0 new messages