Skip to content
  • Sean Griffin's avatar
    445c12f7
    Reduce memory usage when loading types in PG · 445c12f7
    Sean Griffin authored
    We were never clearing the `PG::Result` object used to query the types
    when the connection is first established. This would lead to a
    potentially large amount of memory being retained for the life of the
    connection.
    
    Investigating this issue also revealed several low hanging fruit on the
    performance of these methods, and the number of allocations has been
    reduced by ~90%.
    
    Fixes #19578
    445c12f7
    Reduce memory usage when loading types in PG
    Sean Griffin authored
    We were never clearing the `PG::Result` object used to query the types
    when the connection is first established. This would lead to a
    potentially large amount of memory being retained for the life of the
    connection.
    
    Investigating this issue also revealed several low hanging fruit on the
    performance of these methods, and the number of allocations has been
    reduced by ~90%.
    
    Fixes #19578
Loading