Memory Leaks
Posted: 03 Apr 2025, 13:28
Hi,
How can I use TRACK_ALIVE_OBJECTS to search for memory leaks?
How can I use TRACK_ALIVE_OBJECTS to search for memory leaks?
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
Hi,Hi Tomas,
Those macros are available if you compile Noesis from source. If you don’t, you’ll need to implement your own leak detection mechanism using the memory allocation callback. If you’re using standard malloc in Visual Studio, you can use _CrtDumpMemoryLeaks().
Let me know if this helps.
I have an Indie license.Could you please provide a bit more context regarding the license you're using? Is this an evaluation license? I’m asking because I noticed you're using the symbol server, because you are getting clean call stacks.
Do you have a minimal XAML example that reproduces this? I'd love to take a closer look
<DataTemplate DataType="{x:Type RadioItem}">
<IconRadioButton
Margin="{Binding Margin}"
CheckedIcon="{Binding Icon.Value}"
FontFamily="{Binding Icon.Family}"
Icon="{Binding Icon.Value}"
IsChecked="{Binding IsChecked}"
Style="{StaticResource Style.IconRadioButton.Toolbar}"
Visibility="{Binding IsVisible, Converter={StaticResource Converter.Visibility}}">
<IconRadioButton.GroupName>
<MultiBinding Converter="{StaticResource Converter.GroupName}">
<Binding Path="Group" />
<Binding RelativeSource="{RelativeSource AncestorType={x:Type ItemsControl}}" />
</MultiBinding>
</IconRadioButton.GroupName>
</IconRadioButton>
</DataTemplate>