Hi,
I'm using recursive function within a script,
and while runnig the compiled version of my script,
I run into following error: #28: Out of stack space
I need to increase my stack space for running my script properly.
Does anyone got some idea or workaround?
I've read the following note 11092 in release notes:
"BEGIN OF RELEASE NOTES***
Despite BasicScript's efforts to use memory efficiently, memory may
still fill up. In this case, the user receives the trappable error "Out
of string space," or the fatal error Out of memory.
The ebInit function creates the string space memory area with a maximum
size of 4K. This maximum can be increased by calling the
ebInstance_SetPublicSpace function. The following code sets the maximum
to 1 MB: ebInstance_SetPublicSpace(hInst,0x100000L);
***END OF RELEASE NOTES"
Does anyone knows more about that magic ebInstance_SetPublicSpace,
and where to call it from a rose script, and where to find it (dll or
lib)?
Thanks, Andre.
--
------------------------------------------------
Andr� VEGA
[EMAIL PROTECTED]
01.46.08.63.27
------------------------------------------------
************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages:
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************