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

Home » Public Forums » archive » Re: Readu, Writeu Causing Segmentation Fault
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: Readu, Writeu Causing Segmentation Fault [message #67902 is a reply to message #67899] Mon, 07 September 2009 01:29 Go to previous messageGo to previous message
Wout De Nolf is currently offline  Wout De Nolf
Messages: 194
Registered: October 2008
Senior Member
On Sun, 6 Sep 2009 21:21:28 -0700 (PDT), "A.R." <alromens@gmail.com>
wrote:

> Hello everyone,
>
> I have created rather large volumes (3-D binary arrays) in IDL that I
> save as unformatted data (i.e. writeu). When the volume gets above a
> certain size (around 2.2 GB) when I attempt to writeu or readu the
> volume, I am kicked out of IDL with a segmentation fault. I don't
> think it's a memory issue, I'm running 64-bit IDL on a 64-bit linux
> running redhat enterprise with 12 GB of ram.
>
> One workaround I've used for 'writeu' is to write to the file in
> chunks, by using a for loop to write each slice of the volume
> individually. This works for saving the volume, but then I have no
> way to re-open the volume in IDL without the readu segmentation fault!
>
> Anyone have any ideas for what could be causing this? I'm running IDL
> Version 6.2.
>
> I appreciate any suggestions/ideas you smart people might have! In
> the meantime, I'll continue banging my head against the wall over this
> one.



This works for me:
IDL> writeu,lun,lonarr(930,930,930) ;~3GB

{ x86_64 Win32 Windows Microsoft Windows 7.1 Apr 21 2009 64 64}
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Stacking Map Projections for 3D depiction
Next Topic: Re: referencing structure arrays

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

Current Time: Wed Oct 08 19:27:37 PDT 2025

Total time taken to generate the page: 0.00351 seconds