criteo / JVips

Java wrapper for libvips using JNI.
Apache License 2.0
72 stars 41 forks source link

Garbled results - is there a limit in concurrent invocations? #108

Closed kdekooter closed 1 year ago

kdekooter commented 2 years ago

We are using libvips in a (spring boot) servlet application. If we render a lot of thumbnails at once thumbnails often get garbled:

image

where we would expect this:

image

Is there a limit in the number of threads calling JVips?

esiqveland commented 1 year ago

Did you figure this out?

kdekooter commented 1 year ago

Been digging in my git repo to see if and how I fixed this - didn't find. Cranking up the Java memory to 8G might have helped.

Are you having the sames issues?

esiqveland commented 1 year ago

No, I am not seeing it in our test data set, but we serve too many thumbs to inspect if they end up corrupt. I just wondered if you figured it out, as we are running highly concurrent.

kdekooter commented 1 year ago

The issue vanished on our end. Closing this.