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

Home » Public Forums » archive » Re: 2D density plot *** hist_2d *** LARGE ARRAYS
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: 2D density plot *** hist_2d *** LARGE ARRAYS [message #47170] Thu, 26 January 2006 14:38
maldayeh is currently offline  maldayeh
Messages: 13
Registered: January 2006
Junior Member
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
>>
Re: 2D density plot *** hist_2d *** LARGE ARRAYS [message #47187 is a reply to message #47170] Thu, 26 January 2006 00:47 Go to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
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
>
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Swap memory utilization by IDL
Next Topic: IDL Quiz and Essay Contest

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

Current Time: Wed Oct 08 11:40:16 PDT 2025

Total time taken to generate the page: 0.00584 seconds