Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

xamarin.android permgen space error

I am creating an android app in Xamarin 3. The app runs perfectly but gives an error when i try to view the .axml designer. This is the error:

"The layout could not be loaded: PermGen space"

I know that it is a Java.Lang.OutofMemory error but not quite sure how to solve it in my xamarin project. I am also using Visual Studio with the Xamarin plugin. How do I get this to go away? I understand that increasing the size might be a solution, but not sure how to do that - as all the examples on the web are in Java with Eclipse. Thanks to all those that take the time to help.

like image 696
IotaLou Avatar asked Jan 01 '26 08:01

IotaLou


1 Answers

I restarted Visual Studio and this error is gone for now.

like image 195
Ludwo Avatar answered Jan 03 '26 23:01

Ludwo



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!