I installed PropertyChanged.Fody into a WPF application. Now 3rd party code that uses native memory are having memory allocation issues. Uninstalling PropertyChanged.Fody resolves all these issues. I thought that the package was causing property changed injection into classes in those assemblies so I added a [assembly: PropertyChanged.FilterType("My.Specific.OptIn.Namespace.")] the project I installed fody in to make injection opt-in. Note that I left the filter attribute exactly as I just wrote it so that nothing at all matches, just to test. Still having issues however.
Fody PropertyChanged Weaver Causes Memory Issues
572 Views Asked by Sheldon Cooper At
1
There are 1 best solutions below
Related Questions in C#
- Passing arguments to main in C using Eclipse
- kernel module does not print packet info
- error C2016 (C requires that a struct or union has at least one member) and structs typedefs
- Drawing with ncurses, sockets and fork
- How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?
- Configured TTL for A record(s) backing CNAME records
- Allocating memory for pointers inside structures in functions
- Finding articulation point of undirected graph by DFS
- C first fgets() is being skipped while the second runs
- C std library don't appear to be linked in object file
- gcc static library compilation
- How to do a case-insensitive string comparison?
- C programming: Create and write 2D array of files as function
- How to read a file then store to array and then print?
- Function timeouts in C and thread
Related Questions in .NET
- Does compiler optimize operation on const variable and literal const number?
- What is the point of definnig Asp.net Intrinsic Objects In different places and what is the different betwen them?
- Deleting Orphans with Fluent NHibernate
- IOrderedEnumerable to vb.net IOrderedEnumerable Conversion
- What is this namespace ITypeOfObjectsBoundToListBox ? Couldn't find it
- .net rest service with JSON string and consumed with java client
- What is best way to check if any of the property of object is null or empty?
- Telerik's WPF RadColorPicker NoColorText property not working
- Possible consequences of duplicate ProgId for different classes
- How are multiple requests to Task.Run handled from a resource management standpoint?
- Optimizing C++ call from C#
- Make a per-web-application object available to Web API and SignalR controllers
- System.ComponentModel.DataAnnotations.Schema namespace conflict
- LINQ Except/Distinct based on few columns only, to not add duplicates
- Not displaying content by its URL string - absolute urls
Related Questions in WPF
- WPF MessageBox Cancel checkbox check
- WPF multiple control property simultaneous changes
- ObservableCollection.CollectionChanged does not select the correct DataTemplate on ToolBar
- Telerik's WPF RadColorPicker NoColorText property not working
- How to automate UI interaction during acceptance test run
- Binding to "this.property" object in VisualStateMenager
- ContextMenu Closes Immediately
- Update ObservableCollection where the items are received from another List
- change content button with trigger
- WPF - How to highlight a combobox border when focused
- Wpf No Highlight on ListBoxItem for Touch Devices
- WPF WebBrowser how best to get Tag trees
- Make a class suitable for Property Change Notification
- WPF Comparing two datatables to find matching values
- how to create folder and file with datetime in wpf application
Related Questions in FODY
- How to access command parameter passed to function when using Fody Commander
- Fody plugin Validar fails. Could not load type 'Validar.ValidationTemplateAttribute' from assembly mscorlib
- How can I listen for changes to sub-property using PropertyChanged.Fody?
- Fody.Propertychanged preventing Edit and Continue when used with MVVMLight
- Visual Studio 2017 could not copy dll, because it's being used by MSBuild.exe process
- Fody PropertyChanged Weaver Causes Memory Issues
- Configuring a Fody solution weaver
- When Using Fody Property Changed and properties changed, Why it does not work?
- How add a link to the CSS file contained in the dll assembled by Costura to a Blazor WebAssembly?
- How to exclude some methods in Fody when using MethodBoundaryAspect
- How Blazor Server AOP logging?
- Use Fody.EmptyConstructor on a separate project?
- Fody - System.Security.SecurityException: Invalid assembly public key
- Issue installing nuget Fody and Costura.Fody packages on Visual Studio 2015
- Fody PropertyChanged interfering with FxCop
Related Questions in FODY-PROPERTYCHANGED
- How can I listen for changes to sub-property using PropertyChanged.Fody?
- Data bound view elements still not updating despite the use of Fody PropertyChanged package in Windows Phone 8 app?
- Fody.Propertychanged preventing Edit and Continue when used with MVVMLight
- Using MVVM, how to notify other properties and commands when a collection was modified
- UWP app not updating view
- Fody PropertyChanged Weaver Causes Memory Issues
- Property depending on property from another class
- What does PrivateAssets='All' mean?
- Xamarin Forms: Propertychanged is not triggered when refreshing from database
- Fody PropertyChanged interfering with FxCop
- Xamarin Forms and PropertyChanged.Fody not updating UI
- MVVM: Trigger method on property changed with Fody.PropertyChanged
- NotifyPropertyChanged not firing in derived class
- Unable to get PropertyChanged.Fody to work in Xamarin.Forms App
- C# MVVM How to update viewmodel string from the model
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
After days of debugging I've finally found the issue. My project is set to ANYCPU and Prefer 32 which by default allows it to access more RAM. Fody does not respect this and leads to a normal 32bit assembly that can only access 2GB of RAM.
Before (ANYCPU + Prefer 32):
After (with Fody):
My solution was to use the Large Address Aware NuGet package (the target in the package only runs if you change your Platform Target to x86, in my case I changed from ANYCPU + Prefer32 to simply x86). I configured my .csproj to look like this:
I've alerted the contributers of PropertyChanged.Fody to this issue.