"Mikael Djurfeldt" writes: > I was thinking about inserting code which actually *measures* the size > of frames during startup. This could be done, for example, by > introducing a primitive which uses the internal stack measuring > functions. One could use this primitive to measure how much stack > space some code sample uses. By our knowledge of how many evaluator > stack frames this code sample uses, we can compute a reliable estimate > for the running instance of Guile. Below is a proposed patch to do this. When and if this gets deployed, the third arg to %calibrate-stack-depth would be removed, so that it doesn't generate any output. But for now it's interesting to see what results people on various OSs get. Could people who've being getting "Stack overflow" errors try this out, and also report (for interest) the ";; Stack calibration" line that they get? Thanks, Neil