FRAMESTACK

243 views
Skip to first unread message

Michoel Reach

unread,
May 22, 2015, 11:46:44 AM5/22/15
to intersystems...@googlegroups.com
I saw a few posts where this was asked, but no clear answer. On our current Cache' system, I have never gotten a FRAMESTACK error, even with stacks well above fifty levels. But we are building a new system on a different box, and I consistently get a FRAMESTACK error at 20 levels (found in the ^%ER error trap). How do we set it to something reasonable?
Thanks,
Michael Reach

OldMster

unread,
May 22, 2015, 1:24:12 PM5/22/15
to intersystems...@googlegroups.com
What Cache version?  Which operating systems? Are the Cache versions the same?  Is the operating system (and version number) the same?  Hard to help without enough details.

Michoel Reach

unread,
May 22, 2015, 2:12:35 PM5/22/15
to intersystems...@googlegroups.com

Old: Cache' v2008.1 32-bit on Windows 2003 Server 32-bit. (Soon to be upgraded to Windows 2008 Server 32-bit.)

New: Cache' v2014.1 64-bit on Windows 2012 Server R2 64-bit

 


OldMster

unread,
May 22, 2015, 2:55:02 PM5/22/15
to intersystems...@googlegroups.com
Significant changes to the stack were implemented in version 2013.
Documentation is at http://yoursystemip:yourwebserverport/csp/docbook/DocBook.UI.Page.cls?KEY=GCNV_R2013_1 (Cache 2013.1 Upgrade Checklist)

Short story - $System.Util.GetFrameStackSize() will tell you what the configured stack size is.
                   $System.Util.SetFrameStackSize() will let you change the stack size for all new processes
 
                   $System.Process.FramStackSize() gives the stack size for the current process.

Mark

Michoel Reach

unread,
May 22, 2015, 3:18:01 PM5/22/15
to intersystems...@googlegroups.com
SMILE>w $System.Util.GetFrameStackSize()
114688
SMILE>w $System.Util.SetFrameStackSize(240000)
114688
SMILE>w $System.Util.GetFrameStackSize()
240000

Thanks!
I tried doubling the frame stack size, as you see. But I still get the same error, at about the same depth (20 or 21 levels).
Michael Reach

OldMster

unread,
May 22, 2015, 3:29:59 PM5/22/15
to intersystems...@googlegroups.com
Did you create a new process before trying?  I don't believe it changes the stack size for existing processes.

If so, then I'd call Intersystems, something isn't right, and since the changes were supposed to increase the stack, not decrease it, they need to know and see what is going on.

Mark

Michoel Reach

unread,
May 30, 2015, 9:59:40 PM5/30/15
to intersystems...@googlegroups.com
Thank you for your help. We are calling Intersystems. 
Michael Reach
Reply all
Reply to author
Forward
0 new messages