Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit b087cc3

Browse files
authored
add mem graph debugger (#11)
1 parent dd2a6ab commit b087cc3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

memory-leaks.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Debugging Memory Leaks
22

3-
Debugging memory leaks isn't straightforward on Linux, it's much easier done on macOS using [Instruments](https://help.apple.com/instruments/mac/10.0/#/dev022f987b) or `leaks`. If you cannot reproduce the problem on macOS, not all is lost, find a few suggestions below. The fine folks at IBM have also put together a [guide on diagnosing memory leaks](https://developer.ibm.com/swift/2018/01/26/diagnosing-server-side-swift-memory-leaks/).
3+
Debugging memory leaks isn't straightforward on Linux, it's much easier done on macOS. The best tool is usually the Xcode's [Memory Graph Debugger](https://developer.apple.com/library/archive/documentation/DeveloperTools/Conceptual/debugging_with_xcode/chapters/special_debugging_workflows.html#//apple_ref/doc/uid/TP40015022-CH9-DontLinkElementID_1).
4+
[Instruments](https://help.apple.com/instruments/mac/10.0/#/dev022f987b) and `leaks` can also be very useful. If you cannot reproduce the problem on macOS, not all is lost, find a few suggestions below. The fine folks at IBM have also put together a [guide on diagnosing memory leaks](https://developer.ibm.com/swift/2018/01/26/diagnosing-server-side-swift-memory-leaks/).
45

56
## Example program
67

0 commit comments

Comments
 (0)