Skip to content

GetPickedEditorDataItems causes OutOfMemory exception  #203

@mbilas

Description

@mbilas

Hello,
our Umbraco 7 instance has integrated nuPickers editors. We are mainly focused on work with DotNetCheckBoxPicker. Recently we were affected by an issue with memory clogging on our web server. Our investigation led us to GetPickedEditorDataItems method used on mentioned picker property.
When it happened? When this method was used many times in short period of time (ex. 35 calls per second). All available memory servers was full and IIS server has not responded. Every operation ended with OutOfMemoryException.
The last information in logs before the server was killed:

System.NullReferenceException: Object reference not set to an instance of an object. 
at IEnumerable<EditorDataItem> nuPickers.Shared.DotNetDataSource.DotNetDataSource.nuPickers.Shared.DataSource.IDataSource.GetEditorDataItems(int currentId, int parentId, string[] keys) 
at IEnumerable<EditorDataItem> nuPickers.Shared.Editor.Editor.GetEditorDataItems(int currentId, int parentId, string propertyAlias, IDataSource dataSource, string customLabelMacro, string[] keys) 
at IEnumerable<EditorDataItem> nuPickers.Picker.GetPickedEditorDataItems() 

We are using the most recent version 1.7.1. Any chance to check GetPickedEditorDataItems what can be wrong that it takes up a lot of memory?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions