This article outlines the symptoms, cause, and resolution for UI inventory loading failures and "Search index is out of sync" error messages within VMware NSX.
Symptoms:
NSX User Interface (UI) fails to load inventory details.
When attempting to view these details, one or more of the following error messages are displayed in the UI:
Error: Failed to fetch Inventory details. Please contact the administrator. Error: Search index is out of sync for 'Group'. Run the 'start search resync all' CLI command on the NSX appliance to resync. If the issue persists, contact VMware Support. (Error code: 513002)
Failed to get report - Index out of sync. Please perform a re-sync.
Failed to get "Top Services by Distributed Firewall Rules" report - Index out of sync. Please perform a re-sync.
Failed to get "Distributed FW Rules" report - Index out of sync. Please perform a re-sync
Failed to get "IP ADDRESS MANAGEMENT" report - Index out of sync. Please perform a re-sync.
Failed to get "CONNECTIVITY" report - Index out of sync. Please perform a re-sync.
Failed to get "NETWORK SERVICES" report - Index out of sync. Please perform a re-sync.
/var/log/search/opensearch.log) typically show repeated attempts to trigger Garbage Collection (GC) with little success:[INFO ][o.o.i.b.HierarchyCircuitBreakerService] [nsx_node] attempting to trigger G1GC due to high heap usage [1918747568][INFO ][o.o.i.b.HierarchyCircuitBreakerService] [nsx_node] GC did bring memory usage down, before [1918747568], after [1822748288], allocations [1], duration [5]
A core dump file by the name "search_oom.hprof" may be generated under "/image/core" on the manager node.
This issue may occur in both federated and non federated environments.
Within a federated NSX installation, this may be seen when selecting one or more of the local managers from the site-switcher drop down or when accessing one of the local managers directly without going via the global manager.
proton and cm-inventory service Out-of-Memory (OOM) events across all three manager nodes. /image/core/proton_oom.hprof & /image/core/cm_inventory_oom.hprof[2026-07-01T17:25:03.267Z ERROR UfoReIndexingManager-Reindexing-0 UfoReIndexingManager 77235 - [nsx@6876 comp="nsx-manager" errorCode="MP60525" level="ERROR" subcomp="manager"] Indexing: Reindexing] Unrecoverable error during re-indexing and subscribing. Search framework initialization failed. org.opensearch.OpenSearchStatusException: OpenSearch exception [type=circuit_breaking_exception, reason=[parent] Data too large...]Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.
VMware NSX
A known memory leak in the Jackson library (version 2.17.0) bundled with OpenSearch 2.13.0 progressively consumes available heap, eventually causing the OpenSearch service to run out of memory and crash. When this occurs, the search index falls out of sync with the NSX database.
The reduced heap headroom also has a secondary effect. When a start search resync all or a standard indexing request is triggered, OpenSearch rejects it via the circuit breaker, prompting a high-frequency retry storm from the search service. The resulting accumulation of sync data can drive further OOM failures in the proton and cm-inventory services across all manager nodes in the cluster.
This is a known issue impacting VMware NSX 4.2.1.X, 4.2.2.X and 4.2.3.X.
The issue is resolved in VMware NSX 4.2.4 (for 4.X) and 9.0 and higher (for 9.X). Upgrade to these versions to permanently address the memory leak available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.
Restart the search service on the affected NSX Manager node(s) to clear the memory and re-initialize the service using the below command (run as the admin user):
nsxmgr> restart service searchAfter the search service is restarted, run start search resync all on all NSX manager nodes in the affected cluster.
Verify the status of proton and cm-inventory services, as they may also require restarts if they were impacted by the retry storm:
nsxmgr> get service managernsxmgr> restart service managernsxmgr> get service cm-inventorynsxmgr> restart service cm-inventoryAlternatively, a rolling reboot of the 3 NSX Manager VMs will address the above service restarts:
get cluster status