技术文章 - CS244800
如何在 Windchill PDMLink 中更改 Windchill Index Search (Solr) 服务器的内存参数
已修改: 06-May-2025
适用于
- Windchill PDMLink 11.0 M010 to 13.0
说明
- 如何更改 Windchill Index Search (Solr) 服务器的内存参数
- 如何更改 Windchill Index Search (Solr) 服务器的 maxheap 设置
- Windchill 方法服务器日志包含以下错误:
com.basistech.com.google.common.util.concurrent.ExecutionError: java.lang.OutOfMemoryError: Java heap space
- 尝试使用Index_Search_Server.bat start启动索引服务器失败,并出现以下错误:
"Staring Solr Server outside installer" Error occurred during initialization of VM Too small maximum heap
- 索引搜索不起作用
- Solr 服务器定期停止
- 无法启动 Solr 服务器
- ptc_solrserver-stdout.log包含以下错误:
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) ~[?:?]
- 使用默认内存参数时批量索引速度非常慢
- 背景方法服务器日志中充斥着以下错误:
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>
这是文章 244800 的 PDF 版本,可能已过期。最新版本 CS244800