Out of memory while trying to load spent-addresses
Opened this issue · 0 comments
GalRogozinski commented
Bug description
There was an out of memory exception while trying to load spent-addresses db upon starting IRI.
This is hard to reproduce I believe, but opening a ticket to track this
IRI version
IRI 1.9.0 pre-release
Steps To Reproduce
- Restart IRI a few time
Errors
Pasted from generated hs_err_pid1.log
:
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 1685 org.rocksdb.RocksDB.put(J[BII[BIIJ)V (0 bytes) @ 0x00007f36a153e092 [0x00007f36a153e000+0x92]
J 1707 C2 com.iota.iri.service.spentaddresses.impl.SpentAddressesProviderImpl.saveAddress(Lcom/iota/iri/model/Hash;)V (30 bytes) @ 0x00007f36a156db88 [0x00007f36a156d860+0x328]
J 1748% C2 com.iota.iri.service.spentaddresses.impl.SpentAddressesProviderImpl.readSpentAddressesFromStream(Ljava/io/InputStream;)V (135 bytes) @ 0x00007f36a158a91c [0x00007f36a158a840+0xdc]
j com.iota.iri.service.spentaddresses.impl.SpentAddressesProviderImpl.readPreviousEpochsSpentAddresses()V+51
j com.iota.iri.service.spentaddresses.impl.SpentAddressesProviderImpl.init(Z)V+30
j com.iota.iri.Iota.initDependencies()V+58
j com.iota.iri.Iota.init()V+8
j com.iota.iri.IRI$IRILauncher.main([Ljava/lang/String;)V+114
j com.iota.iri.IRI.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub