If you use a bigtext in a function (or a codeunit) and you call that function (or codeunit) a lot of times, Navision doesn't free the memory for it. Not even with a CLEAR of the variable.
In the taskmanager I notice that the Navision client (or NAS) takes a huge amount of memory.
So the only way I found is to close Navision and restart.
I also have had the strange event that the taskmanager reports that a lot of memory is in use, but in the processes-list I don't find the process who has eaten the memory (even if I know it is Navision and closing Navision doesn't even free the memory).
I have also noticed that 5.0 has the same problem.
Someone has some better trick to avoid this memory loss?
Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
I was already thinking about an array [1..1000] of Text 1000 and program all operations I need....
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
It’s a feature that I always try to avoid.
Freelance Dynamics AX
Blog : http://axnmaia.wordpress.com/
To be honest, I don't see how to do it with a blob. Or do you mean with streaming it in text variables?.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
And if it doesn't help enough. I program a temptable to simulate bigtexts.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I've tested it on NAV 4,5,6 and the behaviour is same. If CLEAR(BigText) is missed, memory is leaking.
Code example: