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

Re: Out of memory!

Thread Previous
Alex Waugh
August 20, 2006 15:29
Re: Out of memory!
Message ID:
Philip Perry <> 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 Waugh                                 

PHP, Roots, Subversion, WebJames and more from

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About