Skip to content

Commit a662eb3

Browse files
Learn Build Service GitHub AppLearn Build Service GitHub App
authored andcommitted
Merging changes synced from https://github.com/MicrosoftDocs/visualstudio-docs-pr (branch live)
2 parents 3041ac5 + 7b7c46d commit a662eb3

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

docs/profiling/analyze-memory-usage.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "Choose a memory analysis tool"
33
description: Learn about the tools you can use to find memory leaks and inefficient memory usage, tools such as the Memory Usage tool and the .NET Object Allocation tool.
4-
ms.date: "01/06/2024"
4+
ms.date: "04/14/2025"
55
ms.topic: "conceptual"
66
author: "mikejo5000"
77
ms.author: "mikejo"
@@ -24,6 +24,12 @@ C++ developers can use Memory Usage tool on debug or release builds:
2424
- [Measure memory usage on debug builds](../profiling/memory-usage.md)
2525
- [Analyze memory usage on release builds](../profiling/memory-usage-without-debugging2.md)
2626

27+
## Learn more
28+
29+
You may want to read about a general approach to optimizing code using the profiling tools. This article shows you how to use different tools, including the .NET Object Allocation tool, to optimize code.
30+
31+
[Case study: Beginner's guide to optimizing code](../profiling/optimize-code-using-profiling-tools.md)
32+
2733
## Blogs and videos
2834

2935
[Analyze CPU and memory while debugging](https://devblogs.microsoft.com/visualstudio/analyze-cpu-memory-while-debugging/)

docs/profiling/dotnet-alloc-tool.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Analyze memory usage for .NET objects
33
description: View how much memory your app uses and what code paths allocate the most memory by using the .NET Object Allocation tool.
4-
ms.date: 01/31/2024
4+
ms.date: 04/14/2025
55
ms.topic: how-to
66
helpviewer_keywords:
77
- memory allocation, memory usage
@@ -106,6 +106,12 @@ You can filter the tabular data to display activity for only a specified time ra
106106

107107
You can also zoom into or out of the graph.
108108

109+
::: moniker range=">=vs-2022"
110+
## Insights
111+
112+
If any insights show up in the **Insights** view, use the provided link to get more information about the issue identified. In addition, if you are using Copilot, the **Ask Copilot** button will open the Copilot chat window, and Copilot will provide suggestions based on your code and any identified issues.
113+
::: moniker-end
114+
109115
### Allocation
110116

111117
The **Allocation** view shows the location of objects that are allocating memory and how much memory those objects are allocating.

docs/version-control/git-with-visual-studio.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: About Git in Visual Studio
33
titleSuffix: ""
44
description: Explore Git options for source control in Visual Studio and track the code changes you make over time or revert to specific versions.
5-
ms.date: 03/14/2025
5+
ms.date: 4/1/2025
66
ms.topic: overview
77
author: ghogen
88
ms.author: ghogen
@@ -45,7 +45,7 @@ Git is a distributed version control system, meaning that all the changes made s
4545

4646
If you are working in a team, or if you are using different machines, you might often need to fetch and pull new changes on the remote repository. To learn more about managing Git network operations in Visual Studio, refer to the [Fetch, pull, push, and sync](git-fetch-pull-sync.md) page.
4747

48-
:::image type="content" source="media/git-source-control-inner-loop.png" alt-text="The Visual Studio IDE with the Git menu and the Git Changes tab in Solution Explorer showing.":::
48+
:::image type="content" source="media/vs-2022/git-source-control-inner-loop.png" alt-text="Screenshot of Visual Studio IDE with the Git menu and the Git Changes tab in Solution Explorer showing." lightbox="media/vs-2022/git-source-control-inner-loop.png":::
4949

5050
## Repository management and collaboration
5151

341 KB
Loading

0 commit comments

Comments
 (0)