Open ch4174nya opened 1 year ago
I have managed to get past this, and in my experience, the cause for this error can vary from there not being enough memory to support the Max Elements
or there being an issue with the file that the index is being loaded from. I imagine there could be more scenarios leading to this exception, but these are the two I've encountered so far.
Is there any way for the exception to indicate more details on the cause?
Hello, I have a Spring-Boot module (specifically, it trains a KNN model) where we leverage this library. When I tried deploying the jar file on a Linux system, I started getting the
UnexpectedNativeException
. I then followed the steps in your README, compiled the.so
file, and attempted loading it asHowever, the exception was still thrown:
I have tried compiling the
*.so
file using clang-12, 14, and 16 and the host is running kernel 4.18 (if it matters). Could you please help me narrow down this issue as this is blocking some key production deployments?