davidkel / hlf

0 stars 0 forks source link

It should be possible to increase the memory used by node in a node CC #20

Open davidkel opened 4 years ago

davidkel commented 4 years ago

As chaincode containers are stateless but handle multiple concurrent requests from multiple channels there is the possibility that a lot of data will be concurrently loaded into the node.js process of the chaincode container. The node.js container could exceed the default memory limit of node (which is about 1.7Gb). It should be possible to specify node options which among other things allows the ability to define the memory configuration of the node.js process running in the chaincode container