Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Oracle80.exe stack growth
Hello,
I am trying to understand how Oracle 8.0.4/NT handles PL/SQL procedure calls, particularly how procedure calls impacts the size of the Oracle80 executable.
On my small server, running the small (extreme) sample below increases the size of the Oracle80.exe (according to the task manager) from app. 6 MB in its dormant state to more than 76 MB during and after the execution. This means something like 80 bytes are allocated per procedure invokation! The sample performs 1 million recursive calls.
So can anybody shed any light onto the following:
declare
nMax pls_integer := 1000000;
n pls_integer := 0;
procedure myfunc
is
begin
n := n + 1; if n >= nMax then return; else myfunc; end if;
myfunc;
end;
Any comment is appreciated, thanks,
Johan
Received on Tue Sep 07 1999 - 04:52:06 CDT
![]() |
![]() |