comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to allocate memory for an array of more than 2G
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to allocate memory for an array of more than 2G [message #71677] Tue, 13 July 2010 16:23 Go to previous message
minchen is currently offline  minchen
Messages: 8
Registered: February 2010
Junior Member
Hi,
I have a trouble to read a .h5 file which is about 3G.
I am using {x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64} IDL. So
you see, my system is 64 bit and IDL is also 64 bit. The problem I
cannot allocate a memory for an array more than 2G. I do not know why?
Can someone help me?
Thanks a lot!

IDL> help,/memory
heap memory used: 818394, max: 1074560678, gets: 1069,
frees: 258
IDL> a=bytarr(1024,1024,1024)
IDL> help,/memory
heap memory used: 1074560268, max: 1074560367, gets: 1081,
frees: 269
IDL> a=bytarr(1024,1024,1024)
% Unable to allocate memory: to make array.
Cannot allocate memory
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Calculation of intersection on map
Next Topic: read XML with IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Thu Oct 09 06:03:10 PDT 2025

Total time taken to generate the page: 0.00513 seconds