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

Home » Public Forums » archive » memory allocation on Macs
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: memory allocation on Macs [message #61047 is a reply to message #60187] Thu, 26 June 2008 12:14 Go to previous messageGo to previous message
Keflavich is currently offline  Keflavich
Messages: 19
Registered: May 2008
Junior Member
I have some follow-up questions on this discussion....

I'm running into the errors described above, I believe:
idl(42359,0xa0281fa0) malloc: *** mmap(size=112533504) failed (error
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
% Unable to allocate memory: to make array.
Cannot allocate memory

so this appears to be a limit imposed by the OS. What I'm not
entirely clear on is, first, does that 4GB limit include virtual
memory?

Then... second... any tips on getting around gigantic memory issues?
I'm running into them using the Goddard astron library for coordinate
transformations. The big problem is (at least partly) that my very
large float arrays get converted into doubles because all of the
astron packages use doubles. There's no way to force the arrays to
stay in the smaller version, right?

Would it be possible to do something like write the necessary files to
hard disk, spawn a new IDL, have it process the data (assuming that it
doesn't independently exceed 4gb...) and write that back? Seems
complicated to me, so I don't really want to attempt it until I've
ruled out other possiblities.

Thanks,
Adam
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Astronomy Dominates IDL Useage
Next Topic: doc_library question

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

Current Time: Sat Oct 11 15:30:10 PDT 2025

Total time taken to generate the page: 1.75911 seconds