avro-util icon indicating copy to clipboard operation
avro-util copied to clipboard

Added a config to limit the code-gen and class loading

Open volauvent opened this issue 5 years ago • 1 comments

The config sets the maximum number of fast SerDes classes generated and loaded. It helps to limit the metaspace and codecache usage brought by fast-avro runtime code-gen and class loading.

The limit config can be set via FastSerdeCache constructors.

volauvent avatar Aug 05 '20 18:08 volauvent

Codecov Report

Merging #83 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #83   +/-   ##
=========================================
  Coverage     53.42%   53.42%           
  Complexity      275      275           
=========================================
  Files            39       39           
  Lines          1662     1662           
  Branches        206      206           
=========================================
  Hits            888      888           
  Misses          692      692           
  Partials         82       82           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 80ecbc2...5a79fa9. Read the comment docs.

codecov-commenter avatar Aug 05 '20 18:08 codecov-commenter