RE: heap object in Root macro

From: Philippe Canal <pcanal_at_fnal.gov>
Date: Thu, 17 Aug 2006 10:23:50 -0500


Hi Weijun,

There are many ways to do so. The best choice depends on your application, on which type of objects you are using, on the purpose for which you use those object, on the length of time you need those objects, etc....

In order for us to be more precise, you will need to provide more details on your application.

Cheers,
Philippe.

-----Original Message-----

From: owner-roottalk_at_pcroot.cern.ch [mailto:owner-roottalk_at_pcroot.cern.ch] On Behalf Of Weijun Guo
Sent: Wednesday, August 16, 2006 2:35 PM To: RootTalk
Subject: [ROOT] heap object in Root macro

Greetings,

I am making some utility macros for some routine work. I tend not to use heap object. But if I do, and run the maroes for many times. Do those objects, created in previous runs, cause memory leak? Is there a convenient way to prevent this if necessary?

Thanks,

Weijun



This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. Received on Thu Aug 17 2006 - 17:24:49 MEST

This archive was generated by hypermail 2.2.0 : Mon Jan 01 2007 - 16:32:00 MET