-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question] <title>What does java.lang.RuntimeException: Deserialize failed, type of read objects are: [... #1953
Comments
You should use ThreadSafeFury as a static variable. If it still fails, we need the reproducible code to find out what happend. |
The code in single threaded. Would this make a difference? |
Nope, please provide the reproducible code |
I think I have identified the problem. Will try to build a small test case next week. It seams related to the order of readObject calls. I think this is similar to #1455 |
BTW, Although deserialization did not work, Fury serialization took 21 seconds while Java took 3 minutes (12% 21/180) |
Do you have any logs for this. I guess it's caused by Fury JIT. The fury JIT takes time, for the first serialization of every type, it will be slower, but later it will be much faster. And fury also supports async compilation, you could enable it by |
I see no problems with Fury being 8.5 times faster than JDK serialisation. Were you expecting better performance? |
adding withAsyncCompilation(true) did not change performances. |
Please provide reproduction code, it depends on your objects. Some types may define their serialization method, and it may be not as fast as fury, which may slow the whole serialization. |
Question
what does :
mean? How do I diagnose this situation?
The ... in the error message is a list of class names. In this case, there are ~7500 classes many of which are repeated. The last class name in the message is null.
Could this be a stackoverflow? When I do this with java serialisation, I increase the stack to 33MB which is the value I used in this test.
The code I use is:
The text was updated successfully, but these errors were encountered: