Click here to Skip to main content
15,922,166 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
on serialization of an object this error is thrown
i am using xamlwriter.save(object,stream) method
but it is throwing outofmemoryexception.


my object is of huge size(500 mb) and i m using memorystream to save xaml information.
is there any way to avoid this error...

if there is another way to serialization then please help..
Posted
Updated 7-Jan-12 0:38am
v2

1 solution

You are doing things fundamentally wrong if you have a 1Gb Xaml file.

The only advise is to run on the 64bit framework and hope for the best, otherwise rethink your design.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900