64bit perl and memory usage

Dave Hodgkinson davehodg at gmail.com
Sat Jul 14 19:27:36 BST 2007


On 14 Jul 2007, at 20:05, wiggly at wiggly.org wrote:

> alex at owal.co.uk wrote:
>> Because of some massively memory wasteful programs I am  
>> approaching the
>> maximum memory limit per process. I am moving to 64 bit perl  
>> (because the
>> boss said so). I'm trying it out now on some x86 boxes with a 64 bit
>> version of Solaris 10.
>> Now from first glance it seems like the programs are using quite a  
>> bit
>> more memory with 64 bit perl than they did with 32. I have a vague
>> understanding that pointers are double in size, which is why the  
>> maximum
>> memory is so much larger.
>
> If you're really hitting the hard ceiling already then you would  
> appear to have two obvious options.
>
> 1) Slim down the program's memory requirements if you are able to.

Leave the leaf node data on the disk, keep the index in memory.

-- 
Dave Hodgkinson
Back in the Market Risk swamp




More information about the london.pm mailing list