java.lang.OutOfMemoryError JavaMaximumHeapSize

Hi all,
I've created an empty Xamarin Forms Solution with an Android Project and the app regularly starts without any problem. After the LinkOS_Xamarin_SDK nuget package installation I can't build solution and I've received this message:

java.lang.OutOfMemoryError. Consider increasing the value of $(JavaMaximumHeapSize).

I've tried to increase HeapSize through "Android Options -> Advanced -> Java Max Heap Size", but the error still remain.

I've also tried to another package version, but without success.

Can you suggest me some solution or trick.

Thank you,