chaokunyang commented on issue #1894:
URL: https://github.com/apache/fury/issues/1894#issuecomment-2430722875

   Hi @davidnadeau , I fixed this in #1895 . Currently you can work around it 
by :
   ```scala
     lazy val fury: ThreadSafeFury = new ThreadLocalFury(classloader => {
    val furyInstance = Fury
       .builder()
       .withLanguage(Language.JAVA)
       .withScalaOptimizationEnabled(true)
       .requireClassRegistration(false)
       .withClassLoader(classloader)
       .withRefTracking(false)
       .buildThreadSafeFuryPool(Runtime.getRuntime.availableProcessors() * 2, 
Runtime.getRuntime.availableProcessors() * 2)
      ScalaSerializers.registerSerializers(furyInstance)
      furyInstance
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to