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

Warp sync uses too much memory #3304

Closed
diglos opened this issue Nov 9, 2016 · 4 comments
Closed

Warp sync uses too much memory #3304

diglos opened this issue Nov 9, 2016 · 4 comments
Labels
F7-footprint 🐾 An enhancement to provide a smaller (system load, memory, network or disk) footprint. M4-core ⛓ Core client code / Rust.

Comments

@diglos
Copy link

diglos commented Nov 9, 2016

Hi,

I'm getting a crash testing the --warp option on a raspberrypi 3:

Fatal runtime error: out of memory
Illegal instruction

I tried to increase the cache but I get the same result.

Attached the full log (debug level).
parity-1.4-armhf7-20161109.txt

Let me know if you need anything else.

Regards.

@diglos diglos changed the title Fatal runtime error: out of memory Illegal instruction on armv7 Fatal runtime error: out of memory Illegal instruction on armv7 (testing --warp) Nov 9, 2016
@rphmeier rphmeier added F7-footprint 🐾 An enhancement to provide a smaller (system load, memory, network or disk) footprint. M4-core ⛓ Core client code / Rust. labels Nov 10, 2016
@rphmeier
Copy link
Contributor

There are definitely a few places where memory footprint while warp syncing could be lessened. I'll take a look into it later, would love to see this working on the pi.

@gavofyork gavofyork changed the title Fatal runtime error: out of memory Illegal instruction on armv7 (testing --warp) Warp sync uses too much memory Nov 11, 2016
@diglos
Copy link
Author

diglos commented Nov 16, 2016

Hi,

I tried with the 1.4.3 release. It seems to last a little bit longer and doesn't crash but snapshot syncing stops with the message:

2016-11-16 18:14:52 UTC IO Worker #1 WARN ethcore::snapshot::service Encountered error during state restoration: Database write failure. Running low on memory perhaps?
2016-11-16 18:14:52 UTC IO Worker #2 WARN ethcore::snapshot::service Encountered error during state restoration: Database write failure. Running low on memory perhaps?

and resumes the sync in normal mode.

Find attached the debug log.

parity-warp-armhf-20161116.txt

Regards.

@5chdn
Copy link
Contributor

5chdn commented May 16, 2017

This footprint labelled issue is inactive since last year.

@paritytech/core-devs Please, confirm within 7 days if this is still relevant. If so, please comment below, and add an assignee; or close otherwise.

@arkpar
Copy link
Collaborator

arkpar commented May 17, 2017

Fixed with #5526

@arkpar arkpar closed this as completed May 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
F7-footprint 🐾 An enhancement to provide a smaller (system load, memory, network or disk) footprint. M4-core ⛓ Core client code / Rust.
Projects
None yet
Development

No branches or pull requests

4 participants