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

Home » Public Forums » archive » dialog_pickfile with multiple_files crashing IDL
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
dialog_pickfile with multiple_files crashing IDL [message #35098] Tue, 13 May 2003 14:23
Jonathan Joseph is currently offline  Jonathan Joseph
Messages: 69
Registered: September 1998
Member
Hi,

I'm running IDL 5.6 on Solaris 8.

I want the user to be able to select multiple files using the
dialog_pickfile widget with the /multiple_files flag. This
works fine for the most part, but if I select many files
(say over 1000 files), instead of returning the expected list,
my entire IDL session crashes after the following message:

IDL> Error: Cannot perform malloc

Has anyone seen this before? Is there a workaround?

The largest number of files I was successfully able to select was
587 - though at that point, I wasn't increasing the number one by
one. The limit is probably determined by the length in
characters of all files (including full path names) selected.

Still, in terms of memory, this is a piddling amount. Why is
my IDL session crashing?

Thanks for any info.

-Jonathan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDLWAVE 5.0 Released! -- idlwave.org
Next Topic: Why is IDLgrSrcDest::Draw so slow when calling IDLgrPolygon::SetProperty?

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

Current Time: Wed Oct 08 13:07:22 PDT 2025

Total time taken to generate the page: 0.00517 seconds