I am trying to use Apache Tika to extract the text of PDF documents via the SearchWP Wordpress Plugin. When I do so, this error message is returned for each file:
# # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 8388608 bytes for Failed to reserve memory for metaspace # An error report file with more information is saved as: # /var/www/html/wp-admin/hs_err_pid13363.log
I have attached a copy of one of those log files.
I have done many things to isolate the problem:
- HTOP on the server shows that RAM is not even nearly maxed out, which it shouldn't be given that there are only a few PDFs ranging from 7KB to 3MB.
- Tika runs fine with the same PDF files, using default java/tika settings, when run on the same server via SSH
- It works fine when run through the SearchWP plugin on a WP site installed on a NGINX or LAMP server, both with the same host (Vultr)
- It is independent of control panel, because it happens through my RunCloud-managed OLS server and an OLS site built directly via Vultr
The only remaining possibility is that OLS is interfering with this somehow. Please let me know if there is any information I can provide, or any steps I can take to diagnose/fix this. Thanks!
# # There is insufficient memory for the Java Runtime Environment to continue. # Native memory allocation (mmap) failed to map 8388608 bytes for Failed to reserve memory for metaspace # An error report file with more information is saved as: # /var/www/html/wp-admin/hs_err_pid13363.log
I have attached a copy of one of those log files.
I have done many things to isolate the problem:
- HTOP on the server shows that RAM is not even nearly maxed out, which it shouldn't be given that there are only a few PDFs ranging from 7KB to 3MB.
- Tika runs fine with the same PDF files, using default java/tika settings, when run on the same server via SSH
- It works fine when run through the SearchWP plugin on a WP site installed on a NGINX or LAMP server, both with the same host (Vultr)
- It is independent of control panel, because it happens through my RunCloud-managed OLS server and an OLS site built directly via Vultr
The only remaining possibility is that OLS is interfering with this somehow. Please let me know if there is any information I can provide, or any steps I can take to diagnose/fix this. Thanks!
Attachments
-
64.3 KB Views: 1