Did this article resolve your question/issue?



Value of -nb exceeds documented maximum in warning (5407)

« Go Back


TitleValue of -nb exceeds documented maximum in warning (5407)
URL NameP4280
Article Number000147688
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Question/Problem Description
The value of -nb displayed in the warning (5407) message exceeds the soft limit maximum stated in the documentation.
Steps to Reproduce
Clarifying Information
Error MessageWARNING: -nb exceeded. Automatically increasing from <old value> to <new value>. (5407)
Defect Number
Enhancement Number
The Nested Blocks (-nb) startup parameter is a soft limit. It can be set by users up to the documented maximum, If the application needs to exceed the limit, OpenEdge issues warning message (5407) and automatically increases the number of nested procedure blocks allowed.The new maximum may be further increased by OpenEdge as needed, up to the amount of stack memory available. The increased limit will only be maintained during the current session. When that session is ended, new sessions will use the -nb value specified as a startup parameter.
No action is necessary. OpenEdge will increase -nb as needed. The warning message is informational; it may safely be ignored.
The documented default and maximum values for -nb depend on the OpenEdge version. Through OpenEdge 10.2A, the documented default is 90 and the documented maximum is 255. Beginning with OpenEdge 10.2B, the documented default is 100 and the documented maximum is 20000; however, the documentation was not updated with the new values until OpenEdge 11.0. See article  Getting too many 5407 warnings but when ABL client crashes when -nb reaches to 2000 nested blocks for more detail.
Last Modified Date11/20/2020 7:28 AM
Disclaimer The origins of the information on this site may be internal or external to Progress Software Corporation (“Progress”). Progress Software Corporation makes all reasonable efforts to verify this information. However, the information provided is for your information only. Progress Software Corporation makes no explicit or implied claims to the validity of this information.

Any sample code provided on this site is not supported under any Progress support program or service. The sample code is provided on an "AS IS" basis. Progress makes no warranties, express or implied, and disclaims all implied warranties including, without limitation, the implied warranties of merchantability or of fitness for a particular purpose. The entire risk arising out of the use or performance of the sample code is borne by the user. In no event shall Progress, its employees, or anyone else involved in the creation, production, or delivery of the code be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the sample code, even if Progress has been advised of the possibility of such damages.