[bisq-network/bisq] Java Heap Space error (#5550)

Christoph Atteneder notifications at github.com
Wed Jun 30 12:27:48 CEST 2021


> More Java heap space today's on VERSION=1.7.0
> 
> ```
> [JavaFX Application Thread] INFO  b.c.p.PersistenceManager: Serializing DaoStateStore took 685 msec
> [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Uncaught Exception from thread JavaFX Application Thread
> [JavaFX Application Thread] ERROR b.c.s.CommonSetup: throwableMessage= Java heap space
> [JavaFX Application Thread] ERROR b.c.s.CommonSetup: throwableClass= class java.lang.OutOfMemoryError
> [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Stack trace:
> java.lang.OutOfMemoryError: Java heap space
> 	at java.base/java.util.HashMap.newNode(Unknown Source)
> 	at java.base/java.util.HashMap.putVal(Unknown Source)
> 	at java.base/java.util.HashMap.putIfAbsent(Unknown Source)
> 	at java.base/java.util.stream.Collectors.lambda$uniqKeysMapAccumulator$1(Unknown Source)
> 	at java.base/java.util.stream.Collectors$$Lambda$42/0x0000000100113b98.accept(Unknown Source)
> 	at java.base/java.util.stream.ReduceOps$3ReducingSink.accept(Unknown Source)
> 	at java.base/java.util.HashMap$EntrySpliterator.forEachRemaining(Unknown Source)
> 	at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
> 	at java.base/java.util.stream.ReferencePipeline$7$1.accept(Unknown Source)
> 	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
> 	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
> 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
> 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
> 	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
> 	at java.base/java.util.stream.ReferencePipeline.collect(Unknown Source)
> 	at bisq.network.p2p.storage.persistence.AppendOnlyDataStoreService.getMap(AppendOnlyDataStoreService.java:87)
> 	at bisq.network.p2p.storage.P2PDataStorage.addPersistableNetworkPayload(P2PDataStorage.java:679)
> 	at bisq.network.p2p.storage.P2PDataStorage.lambda$onMessage$22(P2PDataStorage.java:593)
> 	at bisq.network.p2p.storage.P2PDataStorage$$Lambda$1442/0x00000001007d1d10.accept(Unknown Source)
> 	at java.base/java.util.Optional.ifPresent(Unknown Source)
> 	at bisq.network.p2p.storage.P2PDataStorage.onMessage(P2PDataStorage.java:583)
> 	at bisq.network.p2p.network.NetworkNode.lambda$onMessage$6(NetworkNode.java:392)
> 	at bisq.network.p2p.network.NetworkNode$$Lambda$1329/0x00000001007ac170.accept(Unknown Source)
> 	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Unknown Source)
> 	at java.base/java.util.stream.ReferencePipeline$Head.forEach(Unknown Source)
> 	at bisq.network.p2p.network.NetworkNode.onMessage(NetworkNode.java:392)
> 	at bisq.network.p2p.network.Connection.lambda$onBundleOfEnvelopes$11(Connection.java:470)
> 	at bisq.network.p2p.network.Connection$$Lambda$1441/0x00000001007d1ae0.accept(Unknown Source)
> 	at java.base/java.util.concurrent.CopyOnWriteArrayList.forEach(Unknown Source)
> 	at java.base/java.util.concurrent.CopyOnWriteArraySet.forEach(Unknown Source)
> 	at bisq.network.p2p.network.Connection.lambda$onBundleOfEnvelopes$12(Connection.java:470)
> 	at bisq.network.p2p.network.Connection$$Lambda$1440/0x00000001007d18c0.run(Unknown Source)
> ```
> 
> ![Java heap space](https://user-images.githubusercontent.com/79169291/123934580-f38cd100-d982-11eb-9fdb-ef2a9f176da1.png)

Could you please try out to increase the max ram limit as described in https://bisq.wiki/Reducing_memory_usage? We'll adapt the default value for the next release if it isn't a memory leak we can fix.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/issues/5550#issuecomment-871283488
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20210630/7dadf5eb/attachment-0001.htm>


More information about the bisq-github mailing list