Skip to content
This repository has been archived by the owner on Nov 1, 2020. It is now read-only.

OutofMemoryException thrown when build app with .NET Native Tool Chain enabled #8214

Closed
ngducnghia opened this issue Jun 23, 2020 · 5 comments
Labels

Comments

@ngducnghia
Copy link

ngducnghia commented Jun 23, 2020

image

I use following library in my project:
image

I already tried the workaround from #5604 and #5905 to add following properties:

 <Use64BitCompiler>true</Use64BitCompiler>
<ShortcutGenericAnalysis>true</ShortcutGenericAnalysis>

But still has the error.

@jkotas
Copy link
Member

jkotas commented Jun 23, 2020

This repo is not the right place to report UWP .NET Native issues. Could you please report this issue via
https://github.com/dotnet/corert#net-native-for-uwp-support

@jkotas jkotas closed this as completed Jun 23, 2020
@ngducnghia
Copy link
Author

@jkotas when I open the link you gave, it take me to the same repo, this repo. Is there a mistake? Could you help point me to the right repo?

@Project-Magenta
Copy link

@jkotas
Copy link
Member

jkotas commented Jun 23, 2020

https://developercommunity.visualstudio.com/ is the place to report this.

@ngducnghia
Copy link
Author

RESOLVED
Found out that the issue is cause by using the Custom Visual. Remove these and I am now able to build mode Release with Native Tool Chain Enabled.

OOM EXCEPTION:
[assembly: ExportRenderer(typeof(PpEditor), typeof(PpEditorRenderer), new[] { typeof(ConversationEditorVisual) })]

NO EXCEPTION:
[assembly: ExportRenderer(typeof(PpEditor), typeof(PpEditorRenderer))]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants