* DCE RPC server memory leak on VMS
@ 1994-03-31 19:46 Brad Daniels
1994-04-03 4:30 ` Rich Salz
0 siblings, 1 reply; 2+ messages in thread
From: Brad Daniels @ 1994-03-31 19:46 UTC (permalink / raw)
We're seeing a severe memory leak in our RPC server on VMS (using the
latest release, I forget the number.) Our server code uses rpc_ss_allocate
exclusively. It allocates 100K or so on every call, and the allocations
don't seem to be going away when the server routine returns. As I read the
description of rpc_ss_allocate, all memory allocated using that routine is
supposed to get freed in the server stub after all the [out] arguments get
marshalled. Am I misunderstanding the use of the routine?
I'm interested in any approach I can use to track this problem down.
Thanks,
- Brad
------------------------------------------------------------------------
+ Brad Daniels | "Let others praise ancient times; +
+ Biles and Associates | I am glad I was born in these." +
+ These are my views, not B&A's | - Ovid (43 B.C. - 17 A.D.) +
------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: DCE RPC server memory leak on VMS
1994-03-31 19:46 DCE RPC server memory leak on VMS Brad Daniels
@ 1994-04-03 4:30 ` Rich Salz
0 siblings, 0 replies; 2+ messages in thread
From: Rich Salz @ 1994-04-03 4:30 UTC (permalink / raw)
In <CnJo9w.1Lv@biles.com> daniels@biles.com (Brad Daniels) writes:
> As I read the
>description of rpc_ss_allocate, all memory allocated using that routine is
>supposed to get freed in the server stub after all the [out] arguments get
>marshalled.
You're right -- all memory allocated by rps_ss_allocate (and _sm_allocate)
should be released when the server-stub is finished.
>I'm interested in any approach I can use to track this problem down.
Good luck, sorry, but I've always found it hard to track VMS memory
allocation; the inability to replace system routines in a shared library
was particularly troublesome.
/r$
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1994-04-03 4:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1994-03-31 19:46 DCE RPC server memory leak on VMS Brad Daniels
1994-04-03 4:30 ` Rich Salz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox