[PolyORB-users] DSA example and memory dynamic management
hector
perezh at unican.es
Mon Nov 10 14:54:57 CET 2008
POLYORB VERSION: PolyORB 2.4 release
HOST MACHINE and OPERATING SYSTEM: Pentium IV 2.8 Ghz , Ubuntu Hardy
Linux 2.6.24-19-generic
COMPILER VERSION: GNATLS GPL 2008 (20080521)
DESCRIPTION:
When runnig dsa echo example seems to be some problems in heap memory
deallocation... For example, in RT-CORBA personality requests are
clearly allocated and deallocated by stubs/skeletons but in DSA they don't.
Using gnatmem tool by GNAT in the same example with 10,000 requests,
just for PolyORB.Request.Create_Request call, we have got the following
info:
Allocation Root # 9
-------------------
Number of non freed allocations : 10000
Final Water Mark (non freed mem) : 2.10 Megabytes
High Water Mark : 2.10 Megabytes
Backtrace :
polyorb-requests.adb:117 polyorb.requests.create_request
server.ads:3 server.echo_string
client.adb:10 client
And the overall evaluation showed:
Global information
------------------
Total number of allocations :1239479
Total number of deallocations :1102565
Final Water Mark (non freed mem) : 7.05 Megabytes
High Water Mark : 10.58 Megabytes
Is this behaviour unexpected? Maybe there is something I'm missing?
Regards,
Hector
More information about the PolyORB-users
mailing list