Re: GC, Windows or Design problem?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"Tamir Khason" <tamir-NOSPAM@xxxxxxxxxxxxxxxxx> wrote in message
news:eYWbmdTXFHA.3340@xxxxxxxxxxxxxxxxxxxxxxx
>> How did you manage to 'serialize' such big collection of big structures
>> on the server? Did you use C# (or any other managed code) to do this on
>> the server?
> Yes, 100% managed C# code
> The implementation is REALLY simple.
>
>> If the server runs 32 bit windows (the number of CPU's is not relevant
>> here)
> It is!
>
>> it's simply not possible that this was one single collection.
> But it works!
>
>
>

Are you trying to tell me that the object (the collection) is bigger than
2GB (in memory) on the server or is it the file that's bigger than 2GB? I
guess it's the latter.
Note that the file size can be larger than the object size depending on the
formatter used, for instance the xml serializer produces much larger files
than the binary formatter.
What formatter did you use to serialize?
How did you calculate/determined the object size? (you said object > 2GB and
I say it's not possible to have such object). Anyway you should never assume
that you will be able to deserialize such large objects (> 1GB real object
size) on Win32 even if it was possible to serialize them.

Willy.


.



Relevant Pages

  • Re: Problem with serializing business object instead of core objec
    ... > do this since the server does not need to know the type of object I am ... than you have to serialize the objects ... on the client and send them as binary data to the server. ... >>client and server assemblies. ...
    (microsoft.public.dotnet.framework.remoting)
  • Re: Book recommendations for database development
    ... You then serialize that object (Class instance) across ... your TCP connection to your Application Server (a TCP socket server you ...
    (borland.public.delphi.non-technical)
  • RE: A cryptography solution for a client/server winforms app
    ... the client or server could then do the same after decrypting the data to ... determine if it would be safe to attempt to serialize it. ... encrypt the memory stream. ...
    (microsoft.public.dotnet.security)
  • Re: Serialization problem
    ... > Trying to serialize and desirialize an object. ... If both client and server will be running .NET, ... MyServerObject server = new MyServerObject; ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Extended Stored Procedures developed in .NET?
    ... No, not in managed code. ... Also, below is with permission from David Browne, explaining how you can have SQL Server execute CLR ...
    (microsoft.public.sqlserver.programming)