DataGrid RowClick memory usage

Hi I have an issue with RowClick event on DataGrid, even if my RowClick method is empty the memory usage sky rockets, looks like something causing infinite looped operations od Grid but no idead how to trace it. When I remove RowClick event handler from Grid everything is fine.

        RowDoubleClick="() => CRUD(CRUDType.Edit)"
        TItem="Employee"

        IsLoading="isLoading"
        Count="count"
        Data="@employees"
        ColumnWidth="200px"
        AllowColumnPicking="true" 
        ColumnsPickerAllowFiltering="true" 
        AllowColumnReorder="true" 
        AllowColumnResize="true" 
        AllowFiltering="true" 
        AllowMultiColumnSorting="true" 
        @bind-Settings="@Settings" 
        SelectionMode="Radzen.DataGridSelectionMode.Multiple" 
        AllowRowSelectOnRowClick="false"
        RowClick="RowClick"
        @bind-Value="@selectedRecords">

    async Task RowClick(DataGridRowMouseEventArgs<Employee> args)
    {

    }

Looks like it was my bad... problem was caused by dynamic columns generating and I was missing IF for first render

            </RadzenDataGridColumn>
                    <!-- Generate columns dynamically for all properties of the object -->
            @if (renderColumns == true)
                            {
                                foreach (var propertyInfo in typeof(Employee).GetProperties())
                                {
                                    var showOnGridAttribute = propertyInfo.GetCustomAttribute<ShowOnGridAttribute>();

                                    // Check if the ShowOnGrid attribute is not set or is set to true
                                    if (propertyInfo.Name != "" && (showOnGridAttribute == null || showOnGridAttribute.ShouldShow))
                                    {
                                        <RadzenDataGridColumn TItem="Employee" Property
                                        ="@propertyInfo.Name" Title
                                        ="@L[propertyInfo.Name]" Pickable
                                        ="true" Visible
                                        ="false"></RadzenDataGridColumn>
                                    }

                                }
                                renderColumns = false;
                            }
                        </Columns>

    </RadzenDataGrid>