.NET applications may run out of memory when you run the applications in Visual Studio .NET 2003 (884190)
The information in this article applies to:
- Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2003), Professional Edition
- Microsoft Visual Studio .NET (2003), Academic Edition
SYMPTOMSWhen you run a Microsoft .NET
application in Microsoft Visual Studio .NET 2003, the .NET application may run out of memory.CAUSEThis problem occurs because the base load address for some Microsoft .NET Framework DLLs
is in a location that does not have sufficient memory to run the DLLs.RESOLUTIONTo resolve the problem, use the Rebase utility to rebase the following DLLs to the
preferred base addresses: - Diasymreader.dll
- Cscompmgd.dll
- Microsoft.visualbasic.dll
- Microsoft.jscript.dll
- Microsoft.vsa.dll
To rebase unmanaged DLLs, including the Diasymreader.dll file, run the following
command at a command prompt: editbin /rebase:base=0x5DA10000 diasymreader.dll To rebase managed DLLs, including the Cscompmgd.dll file, the Microsoft.visualbasic.dll file,
the Microsoft.jscript.dll file, and the Microsoft.vsa.dll file, follow these steps for each file:
- Remove the DLL from the global assembly cache folder.
To do this, run the following command at a command
prompt:
gacutil /u path/DLLName - Rebase the DLL. To do this, run the following command at
a command prompt:
rebase -b BaseAddressDLLName - Install the DLL in the global assembly cache folder. To do this, run the
following command at a command prompt:
gacutil /i path/DLLName
The following table includes the DLLs and
the preferred base addresses. Rebase these DLLs to the
preferred base addresses. File Name | Preferred Base Address | Cscompmgd | 0x5DA00000 | Diasymreader | 0x5DA10000 | Microsoft.visualbasic | 0x5DAA0000 | Microsoft.jscript | 0x5DB40000 | Microsoft.vsa | 0x5DB30000 |
STATUS
This behavior is by design.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
For more information, click the following article number to view the article in the Microsoft Knowledge Base:
821157
FIX: "Server Application Unavailable" error message if a DLL is loaded in the 0x33A20000 address space and you request an ASP.NET page
Modification Type: | Major | Last Reviewed: | 7/24/2006 |
---|
Keywords: | kbprb kbMemory kbDLL kbtshoot KB884190 kbAudDeveloper |
---|
|