Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
View Connection Server reports the error: [ws_TomcatService] STDOUT: java.lang.OutOfMemoryError: Java heap space (2009877)
Symptoms
- Unable to connect to View desktops
- Unable to provision desktops
- Desktop status is incorrect in the View Manager
- Desktop status shows (Missing) in View Manger, though the desktop is running in vCenter Server
- In the View Connection server debug logs, you see the error:
[ws_TomcatService] STDOUT: java.lang.OutOfMemoryError: Java heap space
For more information on the View Connection server debug log, see Location of VMware View log files (1027744).
Cause
Insufficient Java heap memory can lead to a number of issues in the View environment.
Resolution
To resolve this issue, increase the memory of the View Connection server.
Windows Server 2003 32-bit allows you to adjust the Java heap memory by editing the registry after upgrading the memory.
To resolve this issue in Windows Server 2003 32-bit:
Note: This procedure modifies the Windows registry. Before making any registry modifications, ensure that you have a current and valid backup of the registry and the virtual machine. For more information on backing up and restoring the registry, see the Microsoft Knowledge Base article 136393.
- Power down the View Connection server.
- Increase the memory of the server to the required 6 GB.
- Power on the View Connection server.
- Ensure that PAE (Physical Addressing Extensions) is enabled and Windows is able to see the full 6 GB of memory.
For more information on enabling PAE, see the Microsoft Knowledge Base article, 283037. - In the Registry Editor, navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\VMware, Inc.\VMware VDM\plugins\wsnm\TomcatService\Params - Change this registry setting from
-Xmx512mto-Xmx1024m. - Reboot the View Connection server.
Windows Server 2008 R2 requires you to reinstall the View Connection server software to adjust the Java heap.
To resolve this issue in Windows Server 2008 R2:
Note: You can also perform these steps on Windows Server 2003.
- Power down the View Connection server.
- Increase the memory in the View Connection server to the required 10 GB.
- Power on the View Connection server.
- Using Add/Remove programs, remove the VMware View Connection Server instance from the machine.
- Reinstall the VMware View Connection server using the View installer.
- When prompted, allow the View install to use the existing ADAM instance.
Additional Information
Note: The links in this article were correct as of May 9, 2013. If you find a link is broken, provide feedback and a VMware employee will update the link.
See Also
- Performing an end-to-end backup and restore for View Manager
- Location of VMware View log files
- View Connection Serverが次のエラーを記録する: [ws_TomcatService] STDOUT: java.lang.OutOfMemoryError: Java heap space
Update History
Request a Product Feature
To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

