infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Memory Leak with 5.7MB
System
Originally posted by Dianna Braden
Can tcl code of
set msgtext [msgget $mh]
and not releasing msgtext
Find more posts tagged with
Clovertech
Comments
RobertKersemakers
Hi Dianna,
I always look at it this way: in a tcl-proc (normally) a message is coming in. At the end of this proc you will always need to do something with this message and the messages that you may have created (msgcreat/msgcopy) inside the proc: you will need to KILL or CONTINUE every message.
If you forget to KILL or CONTINUE a message, you will get a memory leak.
So yes, if you don't 'release' (KILL/CONTINUE) the original $mh, you will have a memory leak.