Archived

This forum has been archived. Please start a new discussion on GitHub.

Why the program memory leaks?

Hi,
I used Ice-3.1.1.
I have a problem:
When I inherited a class from Admin:

#include <IceGrid/Admin.h>

using namespace Ice;
using namespace IceGrid;
using namespace std;

class MyAdmin : public Admin
{
public:
MyAdmin(void);
public:
~MyAdmin(void);
}

MyAdmin::MyAdmin(void)
{
}

MyAdmin::~MyAdmin(void)
{

}

I did nothing with the class ,but I detected the program memory leaks! why?

Detected memory leaks!
Dumping objects ->
{998} normal block at 0x008B3E78, 48 bytes long.
Data: <fe2dc4d87f21b9b2> 66 65 32 64 63 34 64 38 37 66 32 31 62 39 62 32
{997} normal block at 0x008B3E08, 48 bytes long.
Data: <::IceGrid::UserA> 3A 3A 49 63 65 47 72 69 64 3A 3A 55 73 65 72 41
{996} normal block at 0x008B3D78, 80 bytes long.
Data: < ; > E0 94 8A 00 A8 3B 8B 00 E0 94 8A 00 00 00 00 00
{991} normal block at 0x008B3C98, 48 bytes long.
Data: <779fd561878e1994> 37 37 39 66 64 35 36 31 38 37 38 65 31 39 39 34
{990} normal block at 0x008B3C38, 32 bytes long.
Data: <::IceGrid::UserA> 3A 3A 49 63 65 47 72 69 64 3A 3A 55 73 65 72 41
{989} normal block at 0x008B3BA8, 80 bytes long.
Data: < x= > E0 94 8A 00 88 EE 8A 00 78 3D 8B 00 00 00 00 00
{984} normal block at 0x008B3738, 32 bytes long.
Data: <::IceGrid::UserA> 3A 3A 49 63 65 47 72 69 64 3A 3A 55 73 65 72 41
Data: <b52a26591c76fe2d> 62 35 32 61 32 36 35 39 31 63 37 36 66 65 32 64
Data: <::IceGrid::NodeU> 3A 3A 49 63 65 47 72 69 64 3A 3A 4E 6F 64 65 55
{520} normal block at 0x008AD198, 80 bytes long.
Data: <P X > 50 10 8B 00 D0 A0 8A 00 58 D4 8A 00 00 00 00 00
{515} normal block at 0x008AD138, 32 bytes long.
Data: <d1c0a29ce34753b4> 64 31 63 30 61 32 39 63 65 33 34 37 35 33 62 34
{514} normal block at 0x008AD0D8, 32 bytes long.
Data: <::IceGrid::NodeU> 3A 3A 49 63 65 47 72 69 64 3A 3A 4E 6F 64 65 55
{513} normal block at 0x008AD048, 80 bytes long.
Data: < P > E0 94 8A 00 50 10 8B 00 E0 94 8A 00 00 00 00 00
{508} normal block at 0x008ACFE8, 32 bytes long.
Data: <600e78031867992f> 36 30 30 65 37 38 30 33 31 38 36 37 39 39 32 66
{507} normal block at 0x008ACF88, 32 bytes long.
Data: <::IceGrid::NodeD> 3A 3A 49 63 65 47 72 69 64 3A 3A 4E 6F 64 65 44
{506} normal block at 0x008ACEF8, 80 bytes long.
Data: < # > A8 CD 8A 00 80 9C 8A 00 20 23 8B 00 00 00 00 00
{501} normal block at 0x008ACE98, 32 bytes long.
Data: <be38d2d0b946fea6> 62 65 33 38 64 32 64 30 62 39 34 36 66 65 61 36
{500} normal block at 0x008ACE38, 32 bytes long.
Data: <::IceGrid::NodeD> 3A 3A 49 63 65 47 72 69 64 3A 3A 4E 6F 64 65 44
{499} normal block at 0x008ACDA8, 80 bytes long.
Data: < - > B0 2D 8B 00 F8 CE 8A 00 E0 94 8A 00 00 00 00 00
{494} normal block at 0x008ACD48, 32 bytes long.
Data: <dfbd5166bbdcac62> 64 66 62 64 35 31 36 36 62 62 64 63 61 63 36 32
{493} normal block at 0x008ACCE8, 32 bytes long.
Data: <::IceGrid::LoadB> 3A 3A 49 63 65 47 72 69 64 3A 3A 4C 6F 61 64 42
{492} normal block at 0x008ACC58, 80 bytes long.
Data: < > E0 94 8A 00 F8 CA 8A 00 E0 94 8A 00 00 00 00 00
.......................
Object dump complete.


thank you!

Comments