Skip to content

pls provide examples and numbers in bytes for the memory usage meaning #93

Open
@hiqsociety

Description

@hiqsociety
  1. this statement doesnt really say a lot. what's inputJSON?

fastjson requires up to sizeof(Value) * len(inputJSON) bytes of memory for parsing inputJSON string. Limit the maximum size of the inputJSON before parsing it in order to limit the maximum memory usage.

  1. i would like to use fastjson as replacement for "very large map" (10 mil maybe?) of 1024bytes key and 64kb value is this advisable?
    how much memory will this take?

  2. if i add 10 mil 65kb items (key and value) and delete ALL 10 mil items, will the memory usage shrink? just curious.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions