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

Home » Public Forums » archive » Re: writing large 3D data file fails
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: writing large 3D data file fails [message #68244 is a reply to message #68235] Thu, 08 October 2009 04:32 Go to previous messageGo to previous message
Nigel Wade is currently offline  Nigel Wade
Messages: 286
Registered: March 1998
Senior Member
I can't test your exact array because I don't have sufficient RAM, that
array is over 50GB and I only have 32GB.

However, attempting to write a smaller array (fltarr(4008,4008,200),
which by my reckoning is about 12GB) causes a segmentation violation. The
resulting file in my case is actually empty.

IDL> volume=fltarr(4008,4008,200)
IDL> help,/memory
heap memory used: 12852030500, max: 12916286829, gets: 459,
frees: 142
IDL> GET_LUN, lun
IDL> OPENW, lun,'bigfile'
IDL> WRITEU, lun, volume
Segmentation fault

# ls -l bigfile
-rw-r--r-- 1 root root 0 Oct 8 12:25 bigfile


I don't think WRITEU likes very big files. Maybe it's not built with
largefile support, and internally uses a 32bit file pointer. I can't see
why it would be being a 64bit application, but what else might cause the
error?

--
Nigel Wade
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Browse for Cloud-Free MODIS Images
Next Topic: Re: is there a 3D equivalent of CONTOUR?

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

Current Time: Sun Oct 12 12:02:56 PDT 2025

Total time taken to generate the page: 1.37455 seconds