View Issue Details

IDProjectCategoryView StatusLast Update
0007156Talerexchangepublic2022-11-04 19:53
ReporterFlorian Dold Assigned ToChristian Grothoff Resolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicator 
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
Product Versiongit (master) 
Target Version0.9Fixed in Version0.9 
Summary0007156: fakebank is always killed by OOM killer
DescriptionThe default RAM usage of fakebank is way too high. I'm running the wallet tests on a 16GB machine (with dev tools and browsers running of course) and I'm not able to use fakebank.

There seems to be a configuration setting for the RAM usage, but the default is definitely too high.

Is there a way to configure the fakebank to dynamically allocate memory? What happens when we do more transactions than the pre-allocated number allows? Does it crash and burn or realloc?

Is any of this documented?
TagsNo tags attached.

Required notifications

Address or linkRemarkAdded byNotifiedActions

Activities

Christian Grothoff

2022-02-19 20:22

manager   ~0018701

Default reduced from 128 M entries to 128 k entries in 917b2f37..bccdf7e4.
Impact of the option documented in ea9af7a..520dad0 (docs.git):

 RAM_LIMIT
  This gives the number of transactions to keep in memory. Older transactions will be overwritten and history requests for overwritten transactions will fail.

Issue History

Date ModifiedUsernameFieldChange
2022-01-24 19:29Florian DoldNew Issue
2022-01-24 19:29Florian DoldStatusnew => assigned
2022-01-24 19:29Florian DoldAssigned To => Christian Grothoff
2022-02-19 20:22Christian GrothoffNote Added: 0018701
2022-02-19 20:22Christian GrothoffStatusassigned => informing
2022-02-19 20:22Christian GrothoffResolutionopen => fixed
2022-02-19 20:22Christian GrothoffFixed in Version => 0.9
2022-02-19 20:23Christian GrothoffProduct Version => git (master)
2022-02-19 20:23Christian GrothoffTarget Version => 0.9
2022-11-04 19:53Christian GrothoffStatusinforming => closed