Degraded Distribution. Consider nursery size increase if warning persists

I get the following message when I open a new screen, which I added to my application

Warning: Degraded distribution. Consider expanding the nursery if the warning persists.

I guess there is a build argument that I can use to increase the size of the nursery. Does anyone know what an argument is and how to format it?

+4
source share
1 answer

You are probably using too many objects or using too many threads.

According to http://www.mono-project.com/Working_With_SGen#Nursery_Size, you can set the MONO_GC_PARAMS environment MONO_GC_PARAMS to nursery-size=8m to double the size of the nursery.

You set the environment variable for the xamarin.iOS project in the section "Project Settings"> "Run"> "General"

+7
source

Source: https://habr.com/ru/post/1499121/


All Articles