Skip to content

resolvedProperties in schemas are barely populated & consuming memory because of the default HashMap constructor #879

@idarmans

Description

@idarmans

DataSchema._resolvedProperties & RecordDataSchema$Field._resolvedProperties have been reported in our use cases within LinkedIn as consuming too much memory due to the unnecessarily-large HashMaps. If most use cases also don't use resolvedProperties that much, we should be able to initialize them to 0 to start with, and let them resize based on usage

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions