develooper Front page | perl.riscos | Postings from August 2006

Re: Out of memory!

Thread Previous
From:
Alex Waugh
Date:
August 20, 2006 15:29
Subject:
Re: Out of memory!
Message ID:
416291594e.ajw498@caramel.cp15.org
Philip Perry <pjperry@freeuk.com> wrote:

> Hello All,
> 
> Is there any way around the 28640K memory limit for a TaskWindow?
> 
> Posted to both RISCOS Perl list and AoL as though the difficulty arises
> from a BIG perl hash it appears to be limited by RISCOS (3 & 4). rather
> than Perl itself.

There are two options:
Use RISC OS 5, which raises the limit to 1GB.
Make Perl use a dynamic area for the heap.

The latter can be done by editing !Perl.!Boot to set Perl$Heap rather
than unset it. However, this will stop system() and similar functions
from working correctly. As your script doesn't use these functions then
it should be fine.

Alex

-- 
Alex Waugh                                           alex@alexwaugh.com

PHP, Roots, Subversion, WebJames and more from http://www.alexwaugh.com/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About