incubator-s4-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From medikare mds <medikare...@gmail.com>
Subject Re: Kryo serialization
Date Tue, 19 Mar 2013 07:09:11 GMT
I've not used loops at all. That's why I don't understand why I get a
StackOverflowError, but I've used an object of a class which implements
Serializable inside the Event file. Do you think that this clashes with the
serialization provided by Kryo?

On Tue, Mar 19, 2013 at 11:36 AM, Dingyu Yang <yangdingyu@gmail.com> wrote:

> Hi,
> I think your program is infinite loop or iterative too many times.
> The JVM is out of memory。
> Waiting for Matthieu Morel's answer~~
>
>
> 2013/3/19 medikare mds <medikaremds@gmail.com>
>
>> Hi,
>> I'm getting an error when I send an event from one PE to the next. I
>> can't seem to understand what the problem is. If anyone has encountered an
>> error like this earlier, please help me out.
>>
>>
>> Exception in thread "stream1" java.lang.StackOverflowError
>>     at
>> java.util.concurrent.ConcurrentHashMap.get(ConcurrentHashMap.java:796)
>>     at com.esotericsoftware.kryo.Kryo.getRegisteredClass(Kryo.java:291)
>>     at
>> com.esotericsoftware.kryo.serialize.ArraySerializer.writeObjectData(ArraySerializer.java:86)
>>     at
>> com.esotericsoftware.kryo.Serializer.writeObject(Serializer.java:43)
>>     at
>> com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData(FieldSerializer.java:182)
>>     at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:489)
>>     at
>> com.esotericsoftware.kryo.serialize.CollectionSerializer.writeObjectData(CollectionSerializer.java:86)
>>     at
>> com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData(FieldSerializer.java:175)
>>     at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:489)
>>     at
>> com.esotericsoftware.kryo.serialize.CollectionSerializer.writeObjectData(CollectionSerializer.java:86)
>>     at
>> com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData(FieldSerializer.java:175)
>>     at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:489)
>>     at
>> com.esotericsoftware.kryo.serialize.CollectionSerializer.writeObjectData(CollectionSerializer.java:86)
>>     at
>> com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData(FieldSerializer.java:175)
>>     at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:489)
>>     at
>> com.esotericsoftware.kryo.serialize.CollectionSerializer.writeObjectData(CollectionSerializer.java:86)
>>     at
>> com.esotericsoftware.kryo.serialize.FieldSerializer.writeObjectData(FieldSerializer.java:175)
>>     at com.esotericsoftware.kryo.Kryo.writeClassAndObject(Kryo.java:489)
>>
>
>

Mime
View raw message