|
|
|
|
|
|
|
Re: heap_free fatal error [message #62137 is a reply to message #61845] |
Tue, 26 August 2008 15:26  |
lambda.knight
Messages: 1 Registered: August 2008
|
Junior Member |
|
|
Hey, guys,
This problem is due to a stack overflow in the code that cleans up the
heap. I submitted a fix and it should show up in a future version. A
quick band-aid until then is to increase the stack size for IDL. On
*nix systems, that's usually done with the "ulimit" command. On
Windows, I think you can do it with "editbin.exe". Here's a webpage
that has a little bit more detail on how to increase the stack size:
http://www.cs.nyu.edu/exact/core/doc/stackOverflow.txt
Unfortunately, this work around isn't a complete fix. You can still
run into this problem, but it will take a much larger object to hit
it. On OS X, setting the stack size to the maximum let me run the
OP's code with n=149000l.
Mark Eret
ITT Visual Information Solutions
|
|
|