comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: 2D density plot *** hist_2d *** LARGE ARRAYS

Re: 2D density plot *** hist_2d *** LARGE ARRAYS
type: item
description: Well, it looks like you are trying to allocate an array with 1 million times 1 million of elements, if you do the math, you'll probably discover that this array cannot possibly fit into your memory... (unless, of course, you have a couple of terabytes of RAM available, in this case you are probably a microsoft employee developing the next generation of windows ;-) Paolo maldayeh@gmail.com wrote: > Hi All, > I need to get the density plot of two arrays, > days:[1 to 15 in very small increments] such that n_elements(days) = > 1000000 > and intensity:[0 to 1 with very small differences] such that > n_elements(intensity) = 1000000 > > I tried different ways and always got this error whenever I try to > create a 2D vector: unable to allocate memory. > Any help is greatly appreciated. > Thanks a lot > MD >
creator: Paolo Grigis
date: 2006-01-26T08:47:03-00:00

Re: 2D density plot *** hist_2d *** LARGE ARRAYS
type: item
description: Hi Paolo, Not really, just found a way around this morning! I Just scanned the arrays little by little, and returned coincidences(overlapping indices of elements confined in a certain small area) into a much-smaller array (100*100 worked fine). 1 GB of RAM. Finished job in 5-7 seconds Maher. Paolo Grigis wrote: > Well, it looks like you are trying to allocate > an array with 1 million times 1 million of elements, > if you do the math, you'll probably discover that > this array cannot possibly fit into your memory... > > (unless, of course, you have a couple of terabytes > of RAM available, in this case you are probably a > microsoft employee developing the next generation > of windows ;-) > > Paolo > > maldayeh@gmail.com wrote: >> Hi All, >> I need to get the density plot of two arrays, >> days:[1 to 15 in very small increments] such that n_elements(days) = >> 1000000 >> and intensity:[0 to 1 with very small differences] such that >> n_elements(intensity) = 1000000 >> >> I tried different ways and always got this error whenever I try to >> create a 2D vector: unable to allocate memory. >> Any help is greatly appreciated. >> Thanks a lot >> MD >>
creator: maldayeh
date: 2006-01-26T22:38:33-00:00