[firebase-br] erro: FirebirdSql.Data.FirebirdClient.FbException: unable to allocate memory from operating system

Sergio Nascimento sergiojampapb em gmail.com
Qui Dez 24 23:33:23 -03 2009


Caros,

tenho um pequena rotina

        StreamReader sr = new StreamReader(TextBox1.Text.ToString());

        linha = sr.ReadLine();

        FbConnection conec = new
FbConnection(@"Server=localhost;User=SYSDBA;Password=masterkey;Provider=FirebirdSQL.Data.Firebird;Database=banco.fdb";

        conec.Open();

        linha = sr.ReadLine();

        while (!sr.EndOfStream)

        {
    // aqui eu trato a linha ...
             texto = "UPDATE OR INSERT INTO tabela ..." ;
            FbCommand cmdInsereLinha = new FbCommand(texto, conec);
            cmdInsereLinha.ExecuteNonQuery();
            linha = sr.ReadLine();
        }

            ...

aí dá o erro:

FirebirdSql.Data.FirebirdClient.FbException: unable to allocate memory from
operating system

Alguém sabe o motivo ?

e como resolver ?

-- 
Atenciosamente,

Sérgio Ricardo



Mais detalhes sobre a lista de discussão lista