Kbase 21868: Error 4025 Running Persistent Procedures
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/7/2002 |
|
SUMMARY:
This Solution applies to Progress Versions 8 and 9.
You might encounter error (4025) when running your application:
**Unable to realize <widget name>. (4025)
EXPLANATION:
The error could indicate insufficient memory for the client process.
Or, it could be that the process has exceeded the Progress limit for number of widget handles in a session.
Progress has a limit of 2037 widget handles per session at a given time. If your application has created or defined more widgets than the limit, you will encounter error (4025). Note that all the widgets would have to be realized in order to hit the limit. Once the widget is no longer enabled, Progress releases the widget handle and reuses it when a new widget needs to be created.
Depending on how your application is coded, one situation where this can easily happen is when it runs PERSISTENT procedures but does not disable all the widgets properly when the persistent procedure is deleted. The widget name in the message will probably not be consistent because it will depend on which modules of your application were executing at the time the error occurred.
SOLUTION:
-- Make sure there is enough memory in the client machine.
-- Review your application logic. When running a persistent
procedure, make sure all the objects and widgets are deleted
once the procedure is deleted. If you are using a WIDGET-POOL,
make sure the Pool, and its widgets, are also deleted.