-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Node runs out of memory (4GB) with std::bad_alloc #4694
Comments
Try running with |
Also consider using |
Please indicate whether using |
Hello Starting Parity/v1.6.6-beta-8c6e3f3-20170411/arm-linux-gnu/rustc1.16.0 sometimes it is an other error that occurs |
Hi The event occurs less frequently, but it still occurs ( around each 14hours) |
@Corto77 Since your system is running out of memory you need to decrease cache size, not increase it. Try setting to 8 |
I am surprised by your suggestion : do you suggest me to set the --cache to 8 ? |
|
This issue is labelled with bug: The client fails to follow expected behavior. It's neither assigned nor linked to a milestone. @Corto77 could you please state whether reducing cach size and pruning history solves this issue? @paritytech/core-devs is this related to #4439? Please, decide on a deadline and assign this ticket to a developer within 7 days or close it otherwise. |
Memory usage reduced with #5526. 1GB should be more than enough now unless doing a full sync. |
hi
I've tried several configurations of --cache and --pruning-history
With --cache =128 the problem occurs after a little bit more than one day
right now, It has been running with "--warp --mode active
--pruning-history 64 --cache=64 --logging info" for 3 days without error...
the top command shows that parity is using almost 50% of the memory
"USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
pi 20 0 1844440 491400 4708 S 15,8 49,3 718:13.57 parity"
I will send you another info in one week except if the problem occurs
before...
best regards
Le 09/05/2017 à 13:39, Afri a écrit :
…
This issue is labelled with /bug/: The client fails to follow expected
behavior. It's neither assigned nor linked to a milestone.
@Corto77 <https://github.com/Corto77> could you please state whether
/reducing/ cach size and pruning history solves this issue?
@paritytech/core-devs
<https://github.com/orgs/paritytech/teams/core-devs> is this related
to #4439 <#4439>? Please,
decide on a deadline and assign this ticket to a developer within 7
days or close it otherwise.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4694 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Aacb0ui2gKl6I0jSGPVOLsKq9JMevSyoks5r4FCIgaJpZM4MNPp_>.
|
Syncing the live form 0 until block 2422715
Then it ran out of memory. (4GB AWS-Server)
After restarting he synchronized until 2423009 and then crashed
The machine:
Trying to retart just ends with a out of memory again.
The text was updated successfully, but these errors were encountered: