Hola, tengo un problema al ejecutar Freeling 4.0 para Java en Centos 7.4
Tengo un proceso con 5 threads y al ejecutar cerca de 1000 documentos salta un error interno de C++ (adjunto mapa de memoria).
http://cloud.simplydata.es:9082/index.php/s/T68lGE8i7O8cdp3
El codigo que ejecuta en el error es el sigueinte
synchronized (LOCK) {
ListSentenceIterator it = new ListSentenceIterator(ls);
while (it.hasNext()) {
Sentence s = it.next();
String aux = getText(s, lang, split, convertNumbers);
if (aux != null)
result += aux;
}
it.delete();
}
En Ubuntu 16.04 esta testeado con mas de 3000 documentos y funciona todo OK, pero al pasarlo al servidor de centos 7.4 falla al analizar 30-40 documentos.
Cualquier ayuda es bien recibida.
Gracias
Looking at the log I'd say…
Looking at the log I'd say that the problem is in the JNI api, which is generated by swig.
Make sure you are using the same swig version (and the same java platform) in both systems
Hi, I tested with both swig…
Hi, I tested with both swig 1.3.40, 2.0.0 and 2.0.10 and java 1.7 in both systems.
In ubuntu works fine with swig 1.3.40 and in Centos 7.4 don't.
With one thread works fine, but when I start 5 it crashes at 20-30 documens
Uhm.. I don't know what it…
Uhm.. I don't know what it may be...
Maybe java in CentOS is somehow different from Ubuntu's.. :S