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

[perl #38976] ResizablePMCArray uses too much memory

0 views
Skip to first unread message

Andy Dougherty

unread,
Apr 25, 2006, 11:02:11 AM4/25/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Andy Dougherty
# Please include the string: [perl #38976]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38976 >


t/pmc/intlist_3.pasm, t/pmc/intlist_4.pasm,
t/pmc/resizablebooleanarray_16.pasm, and
t/pmc/resizablestringarray_21.pasm all fail as follows:

$ ./parrot t/pmc/intlist_3.pasm
Parrot VM: PANIC: Out of mem!
C file src/memory.c, line 48
Parrot file (not available), line (not available)

We highly suggest you notify the Parrot team if you have not been working on
Parrot. Use parrotbug (located in parrot's root directory) or send an
e-mail to perl6-i...@perl.org.
Include the entire text of this error message and the text of the script that
generated the error. If you've made any modifications to Parrot, please
describe them as well.

Version : 0.4.3-devel
Configured : Tue Apr 25 08:41:45 2006
Architecture: nojit
JIT Capable : No
Interp Flags: (no interpreter)
Exceptions : (missing from core)

Dumping Core...
Quit

These tests used to work in parrot-0.4.2. The significant change is that
they used to use

new P1, .PerlArray

but now use

new P1, .ResizablePMCArray

This has resulted in more than a 6-fold increase in memory
requirements. (Specifically, with .PerlArray, intlist_3.pasm succeeds
with a ulimit of 26 MB, but with .ResizablePMCArray, it needs at least
167 MB, which is a real problem on a machine with only 128 MB of actual
RAM.)

--
Andy Dougherty doug...@lafayette.edu

0 new messages