You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using the BLOB concatenation in procedure (see below) then memory consumption on the server is 2GB (for that connection). A bit more complicated procedure inserting final BLOB to the record consumed about 40GB.
SET TERM ^ ;
CREATE OR ALTER PROCEDURE test_blob_memory
RETURNS (RESULT BLOB)
AS
DECLARE VARIABLE counter INT;
BEGIN
counter = 0;
RESULT = 'test';
WHILE \(counter < 15000\) DO
BEGIN
RESULT = RESULT \|\| ' 1234567890';
counter = counter \+ 1;
END
SUSPEND;
END^
SET TERM ; ^
The text was updated successfully, but these errors were encountered:
Submitted by: Alexey Parshin (happysquirrel)
Is related to CORE3948
When using the BLOB concatenation in procedure (see below) then memory consumption on the server is 2GB (for that connection). A bit more complicated procedure inserting final BLOB to the record consumed about 40GB.
SET TERM ^ ;
CREATE OR ALTER PROCEDURE test_blob_memory
RETURNS (RESULT BLOB)
AS
DECLARE VARIABLE counter INT;
BEGIN
counter = 0;
RESULT = 'test';
END^
SET TERM ; ^
The text was updated successfully, but these errors were encountered: