Tanzu tc Server crashes with error "The paging file is too small for this operation to complete"
search cancel

Tanzu tc Server crashes with error "The paging file is too small for this operation to complete"

book

Article ID: 394366

calendar_today

Updated On:

Products

VMware Tanzu Spring Runtime VMware Tanzu tc Server

Issue/Introduction

Tanzu tc Server crashes unexpectedly. In the wrapper.log, you may see the following errors:

INFO   | jvm 1    | 2025/04/10 05:27:32 | OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x##########, #######, #) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)
ERROR  | wrapper  | 2025/04/10 05:28:07 | JVM appears hung: Timed out waiting for signal from JVM.
STATUS | wrapper  | 2025/04/10 05:28:07 | Dumping JVM state.
ERROR  | wrapper  | 2025/04/10 05:28:11 | JVM did not exit on request, terminated

Environment

Tanzu tc Server running on Windows Server

Cause

This can happen when there is a memory constraint and the page/swap file is not large enough to write the memory to disk. The error and resoulution mentioned in this article is specific to Windows servers, but you may see similar errors on Linux and can take similar steps if the swap file is too small.

Resolution

A simple fix would be to increase the size of the page file, however this may have a performance impact if the memory constraint is not fixed. Paging to disk happens when the server is low on available memory. Please see the following documents for determining the appropriate size of the paging file and how to change it.

 

A better resolution would be to fix the memory constraint so that Windows does not need to page the memory to disk in the first place. Below are some ideas to start with:

  • The -Xmx JVM option for tc Server
  • Running processes in Task Manager
    • Are there any unneeded processes running in the background consuming a large amount of memory?
  • Physical Memory (RAM)
    • Is the memory usage on your server consistently approaching 100% and need to be increased?