Unscheduled process recycles occur when dynamic scripts are used in Microsoft Speech Server (914790)
The information in this article applies to:
- Microsoft Speech Server 2004 Enterprise Edition
- Microsoft Speech Server 2004 Standard Edition
- Microsoft Speech Server 2004 R2 Enterprise
- Microsoft Speech Server 2004 R2 Standard Edition
SYMPTOMSIn Microsoft Speech Server, the Telephony Application Service downloads a speech-enabled Web page. The Telephony Application Service then compiles the script blocks on the rendered page into a Microsoft ASP.NET assembly. If the script blocks on the page are not changed, the assembly is cached and will be reloaded for subsequent speech sessions. If dynamic scripts are used, the Telephony Application Service is forced to recompile the page into new assemblies. The rendered page is different because of the dynamic scripts. This problem causes unscheduled process recycles.CAUSEWhen the Telephony Application Service downloads a speech-enabled Web page, it compiles the script blocks into an ASP.NET assembly for security and scalability reasons. The Telephony Application Service compiles a different assembly for each page that is downloaded differently. Pages that contain dynamic scripts may be different every time and will cause the Telephony Application Service to compile different assemblies. However, because the ASP.NET page framework does not let you unload an assembly after it is loaded, the memory usage quickly increases until it reaches a memory threshold that triggers a process recycle. RESOLUTIONTo resolve this problem, remove the dynamic scripts in your application.
Modification Type: | Major | Last Reviewed: | 3/16/2006 |
---|
Keywords: | kbprb KB914790 kbAudDeveloper |
---|
|