Skip to content
This repository has been archived by the owner on Aug 23, 2020. It is now read-only.

Out of memory while trying to load spent-addresses #1796

Open
GalRogozinski opened this issue Mar 15, 2020 · 0 comments
Open

Out of memory while trying to load spent-addresses #1796

GalRogozinski opened this issue Mar 15, 2020 · 0 comments

Comments

@GalRogozinski
Copy link
Contributor

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

  1. 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
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant