Re: [Mono-dev] Improving memory usage in /System.Web.SessionState/SessionSQLServerHandler.cs

2006-11-28 Thread Hubert FONGARNAND
Could someone commit this patch? Thanks Le lundi 27 novembre 2006 à 12:17 +0100, Hubert FONGARNAND a écrit : Hi, When using Npgsql, if you try to send (INSERT or UPDATE) a bytea (blob) element without using Prepare it will be sent as a Escaped string... This string is 4x bigger than the

Re: [Mono-dev] Improving memory usage in /System.Web.SessionState/SessionSQLServerHandler.cs

2006-11-28 Thread Robert Jordan
Hi Hubert, Hubert FONGARNAND wrote: Could someone commit this patch? Let me check it first against another DB providers. Robert Thanks Le lundi 27 novembre 2006 à 12:17 +0100, Hubert FONGARNAND a écrit : Hi, When using Npgsql, if you try to send (INSERT or UPDATE) a bytea (blob)

[Mono-dev] Improving memory usage in /System.Web.SessionState/SessionSQLServerHandler.cs

2006-11-27 Thread Hubert FONGARNAND
Hi, When using Npgsql, if you try to send (INSERT or UPDATE) a bytea (blob) element without using Prepare it will be sent as a Escaped string... This string is 4x bigger than the real bytea... So : The memory usage on the ASP.NET server is enormous when the blob is more than 1MB... and the