New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Out of Memory in Xamarin Studio and Visual Studio for Mac #302
Comments
I also face this issue. I logged an issue on a Realm repo. |
kanvuduc's solution fixed my problem and saved my bacon!!! |
I reported this on the mono. bugzilla |
And now moved to jbevain/cecil#378 as Mono group is pointing to Cecil as the cause. |
And now Cecil is pointing to Fody again jbevain/cecil#378 (comment). Is Fody using v0.9 or v.10 ? |
So I checked the latest nuget packages for Fody. 1.29.4 en 1.30.0-beta01 are coming with Mono.Cecil.dll version 0.9.6.0; so this is the problem (according to Mono.Cecil). However, in https://github.com/Fody/Fody/tree/master/Lib/Cecil I see the that the version is 0.10.0 ... Is it possible to create a new update for fody packaging this latest version? @SimonCropp ? |
Any idea for workaround in Visual Studio on Windows? |
I fixed this in VS4M in the preferences…
… On Apr 11, 2017, at 2:49 PM, Jan Škrášek ***@***.***> wrote:
Any idea for workaround in Visual Studio on Windows?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#302 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ATWKVOslmnmOIaNAQFT73QDkFujLHF1xks5ru9k1gaJpZM4M37HA>.
|
Pointing to each other doesn't help... what does help is the "work around" @kanvuduc mentioned. In VS > preferences > .NET runtimes > set Mono 4.8.0 as default |
Well, on Windows, there is not such configuration, is there a mono somewhere? @Lenndev nobody is "pointing", people just try to find the cause and get it logged into a proper issue tracker. |
Fixing it for now is ok, but for example on VSforMac or XS this means you cannot use c# 7 in combination with Fody with doesn't make me happy... |
+1 with the same issue... Sad to hear we can't use C#7 + Fody :( |
It seems like this is causing major havoc for a lot of dev's... so glad it's not just me. It seems that the root of this is Cecil, however it is also a Fody problem due to the way in which Fody ships with no dependencies by including Cecil as part of the package. Supposedly the issue should be fixed in 0.10-beta5, however Fody would need to release an updated package with the new Cecil binaries. |
This is going to break any Xamarin dev using Fody very soon. It looks unfortunately like this project is a bit dead. I took a quick look at merging in the upstream Cecil changes back into Fody's fork, and it looks like maybe Cecil now includes the functionality Fody had added to their fork, so perhaps it's possible to use Cecil as a true dependency. I may have an extended look at this over the next few days. |
Yup, add one more to the list. |
Sadly, like @kanvuduc mentioned, this breaks the usage of Realm. We were about to start using it in a new app, but now we have to find something else. Any recommendations besides sqllite? |
@renzska same case here... Thats why libraries should avoid at all cost to don't take dependencies on 3rd party libraries... It will break Realm all over... |
Can u try fody 2.0 |
@SimonCropp testing this with PropertyChanged in VS for Mac everything looks like it's working right again. Thanks for getting the update out! |
Good to hear |
@kanvuduc how can I download 4.8.0 for mac? |
When building a Xamarin Forms project:
It takes less than 2 seconds to crash. There is plenty of memory available:
The text was updated successfully, but these errors were encountered: