[SR-4668] NSStringRef is probably leaking memory #47245
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
memory leak
bug: Memory leak
standard library
Area: Standard library umbrella
Environment
swift[master] at the time of this report
Additional Detail from JIRA
md5: 4342c5e2d8af0036a7e3275ec4c25f03
relates to:
Issue Description:
Running
ObjectiveCBridgeStubFromNSStringRef
performance test from Swift Benchmark Suite reveals suspicious memory usage in NSStringRef:The maximum resident set size (
MAX_RSS
) slightly raises when we increasenumSamples
.The memory use is also slightly unstable between different runs:
Same problem manifests when running benchmarks for
ObjectiveCBridgeStubToNSStringRef
.The text was updated successfully, but these errors were encountered: