Skip to content

Instantly share code, notes, and snippets.

View asmehra95's full-sized avatar

Avtar Singh asmehra95

View GitHub Profile
When ObjectRecognitionParser was built to do image recognition, there wasn't
good support for Java frameworks. All the popular neural networks were in
C++ or python. Since there was nothing that runs within JVM, we tried
several ways to glue them to Tika (like CLI, JNI, gRPC, REST).
However, this game is changing slowly now. Deeplearning4j, the most famous
neural network library for JVM, now supports importing models that are
pre-trained in python/C++ based kits [5].
*Improvement:*
It will be nice to have an implementation of ObjectRecogniser that
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map 3145203712 bytes for committing reserved memory.
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full