OutOfMemoryError while trying to get data from server

While trying to get data from server an OutOfMemoryError in the client side is thrown. It seems like in ThreadLocalData when trying to allocate new byte array and the size is too big. We suspect Aerospike server return to the client wrong number of bytes to allocate since the set we query is small. Did someone see this kind of behavior? I use server version 3.8.3 and java client version 3.1.8.

© 2015 Copyright Aerospike, Inc. | All rights reserved. Creators of the Aerospike Database.