Article - CS244800
How to change the memory parameters for the Windchill Index Search (Solr) Server in Windchill PDMLink
Modified: 06-May-2025
Applies To
- Windchill PDMLink 11.0 M010 to 13.0
Description
- How to change the memory parameters for the Windchill Index Search (Solr) Server
- How to change the maxheap setting for the Windchill Index Search (Solr) Server
- Windchill Method Server log contains the following error:
com.basistech.com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: Java heap space
- Attempting to start the indexing server with Index_Search_Server.bat start fails with the following error:
"Staring Solr Server outside installer" Error occurred during initialization of VM Too small maximum heap
- Index search is not working
- Solr Server periodically stops
- Unable to start Solr Server
- ptc_solrserver-stdout.log contains the following error:
java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:3236) ~[?:1.8.0_202] at java.io.ByteArrayOutputStream.toByteArray(ByteArrayOutputStream.java:191) ~[?:1.8.0_202] at org.apache.poi.util.IOUtils.toByteArray(IOUtils.java:166) ~[?:?] at org.apache.poi.util.IOUtils.toByteArray(IOUtils.java:120) ~[?:?]
- Bulk Indexing is extremely slow with the default memory parameters
- Background MethodServer log was flooded with the following error:
ERROR [IndexQueue2.PollingThread] wt.index.AbstractCoreManager Administrator - Failed to index: 1619550632 org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://<server>:8085/solr/wblib: Expected mime type application/octet-stream but got text/html. <html> <head> <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/> <title>Error 500 java.lang.OutOfMemoryError: Java heap space</title> </head> <body><h2>HTTP ERROR 500 java.lang.OutOfMemoryError: Java heap space</h2> <table>
This is a printer-friendly version of Article 244800 and may be out of date. For the latest version click CS244800