LABEL_REGION on large array --> segmentation fault, please HELP !! [message #85807] |
Tue, 10 September 2013 13:50  |
Danxia
Messages: 10 Registered: September 2012
|
Junior Member |
|
|
Dear all,
I have a very large binary array with around [60000 by 90000] elements whose file size is about 5GB. I hope to apply LABEL_REGION function on this array to extract "connected" patches. My IDL code was run on a linux machine with 64GB memory. But IDL kept crashing when running through LABEL_REGION function, ending up with error message of "segmentation fault". I'm wondering if IDL has any limitation the size of array that a function can handle? Or this crashing is caused by configuration of my machine? Any idea how to this problem will be appreciated!!
|
|
|
Re: LABEL_REGION on large array --> segmentation fault, please HELP !! [message #85808 is a reply to message #85807] |
Tue, 10 September 2013 18:28   |
chris_torrence@NOSPAM
Messages: 528 Registered: March 2007
|
Senior Member |
|
|
On Tuesday, September 10, 2013 2:50:29 PM UTC-6, Daisy wrote:
> Dear all,
>
>
>
> I have a very large binary array with around [60000 by 90000] elements whose file size is about 5GB. I hope to apply LABEL_REGION function on this array to extract "connected" patches. My IDL code was run on a linux machine with 64GB memory. But IDL kept crashing when running through LABEL_REGION function, ending up with error message of "segmentation fault". I'm wondering if IDL has any limitation the size of array that a function can handle? Or this crashing is caused by configuration of my machine? Any idea how to this problem will be appreciated!!
Hi Daisy,
There is a known bug with LABEL_REGION (bug #IDL-68761), where it is not able to handle 64-bit memory addresses. Currently, you can only use the function for arrays that are less than 2 Gb in size. I am hoping to fix this bug in IDL 8.3, which is due out later this fall.
Cheers,
Chris
ExelisVIS
|
|
|
|
|