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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Insufficient Stack Space error

Status
Not open for further replies.

dylim

Programmer
Dec 12, 2001
138
PH
We have just installed on 120 workstations a client app. Everything seems to run smoothly except for occasional units encountering 'Insufficient Stack Space' error. They would then freeze up and have to rebooted. All are HP P4s with 128MB Ram and have as server HP Netserver running NT 4.0 SP6.

The error is observed to occur on some particular machines only.

Thanks in advance!
 
It's been my observation, that this message occurs due to:
1) Bad code - situation where code can recursively call itself.
2) Bad index(s) - bad links can cause situation similar to #1.

The Knowledge Base also lists comparisons of two "very large strings" and very 'deep' class definitions as possible causes.

Rick
 
rgbean,

first of all, thanks!

if it's bad code, shouldn't error come up in ALL the machines? why does it just affect some particular machines?

you also mentioned bad indexes, bad links (as in poor network connection?) this could be bec these machines take much longer time to send their requests to server app.
 
rgbean,

thanks!

if it's bad code, shouldnt this happen to all stations? why does it occur on just particular machines?

what do u mean by bad indexes?

what do u mean by bad links? is it poor network connections? this could probably be bec these erring stations always take a much longer time for their requests to be sent to the server app.

 
Often "bad code" is data and/or situation dependent, so it won't always act the same way on all machines unless they do EXACTLY the same thing. As far as bad indexes, many things can corrupt them - the best way to fix them is to recreate them - not just a REINDEX.

Of course you could also have a virus or virus checker problem - they can cause very unexpected problems. Also, unless all these systems are only running just your application, it may be some other app that is limiting the memory available to your program.

Rick
 
rgbean,

unless i was kept in the dark, the client app n some virus checker program are the only ones supposed to run on each of the stations.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top