third_party_content:community:commentary:forums_nonworks:1b29ec08d2ca9d7e852569df0039674d

Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 25 JAN 2001 05:26:59AM Cameron Christie wrote:

Our big overnight batch process is beginning to creak at the seams, and has recently begun falling over with "Program Stack Full" errors (presumably because we've filled up the 299 available elements with a bunch of symbolics.)

In the meantime we've split processing into a series of spearate steps which gets round the problem all right, but I wondered if anyone knows of a way of clearing out this stack programmatically, which would be a cleaner and more scaleable solution?

TIA,

Cameron


At 25 JAN 2001 07:30AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Expendable subroutine might be the best.

If you are dealing with lots of symbolics, try this untested code..

Expendable Function CalcDict( AtRecord, AtField, AtDict, AtMV )

Declare Function CalculateX

RetVal=CalculateX( AtField, AtDict, AtID, AtRecord, AtMV )

Return RetVal

The CalcDict function should remove itself from the stack, along with the dictionary reference.

The Sprezzatura Group

World Leaders in all things RevSoft


At 25 JAN 2001 08:52AM Don Miller - C3 Inc. wrote:

Sprezz beat me to it … again. Probably the time difference.

Don Miller

C3 Inc.


At 25 JAN 2001 09:10AM Cameron Christie wrote:

Thanks guys! (Don't worry Don,they only beat you 'cos they're sitting around idle with nothing better to do…! )

Cameron


At 25 JAN 2001 09:47AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

Hey we're busy trying to schedule trips to the Isle of Man for Aaron! . And remember, with Steve on board, the sun never sets on the Sprezzish Empire…

The Sprezzatura Group

World Leaders in all things RevSoft


At 25 JAN 2001 09:55AM Don Miller wrote:

But is there enough John Courage?

DCM


At 25 JAN 2001 09:56AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

There's never enough John Courage !

The Sprezzatura Group

World Leaders in all things RevSoft


At 29 JAN 2001 03:52AM Cameron Christie wrote:

Would that be the visit you were going to confirm by the 22nd?

Best hurry up - you've got to give us time to lay in plentiful supplies of weak American lager (and don't anyone mention Coors in New Orleans…..)


At 01 FEB 2001 09:13AM Ian Lord wrote:

Cameron,

try removing the CALL statements & declaring all programs, subroutines & functions as the CALL statement will cause the prgoram to be loaded AGAIN for each CALL


At 01 FEB 2001 09:51AM [url=http://www.sprezzatura.com" onMouseOver=window.status=Click here to visit our web site?';return(true)]The Sprezzatura Group[/url] wrote:

The DECLARE function is simply a compiler pre-directive to allow the omission of CALL statements. RTP29 the program loader checks the stack during a call and if the subroutine is there uses it again.

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/1b29ec08d2ca9d7e852569df0039674d.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1