Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Please Help - sys(3055)

Status
Not open for further replies.

MisterC

IS-IT--Management
Apr 19, 2001
501
US
Please oh Please... HELP! :)
I'm getting "Insufficient Stack Space" errors on a payroll program that uses Visual Foxpro. (The full version of VFP is not installed, just the version needed by the program)
I've found that says I can increase for & where clause complexity as a possible fix. Something like:
Code:
= SYS(3055, 8 * MIN(40, FCOUNT( )))

Does this statement go in config.fpw? If not, then where?
 
The help doesn't say if this command is scoped to the current datasession but FCOUNT() isn't valid without a table in USE. Also I have to think that there is an error, they use the MIN() where I think it makes more sense to use the MAX() function. The default is 320 (8*40), I'm thinking that I would try doubling to see if it helps. Put it in the main prg file. If not there then in the init of your forms or in the init of the DataEnvironment.
Code:
SYS(3055,640)
If you aren't using a full version you might have a problem because you are going to have to rebuild the app.
 
It would be useful to know what the program is doing (the actual code) at the time you get this. Also, does this happen on all workstations or only a specific one? What are the characteristics of this machine? (CPU, RAM, Disk Size, how much is "available" when you run the VFP app, and what else is running.) Knowing the version and service pack level of VFP can also be helpful in determining the "real" problem and a possible fix.

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top