Hi,
I have a calculated column as below. Changing from V 12.1.20121.1001 to V 12.1.20121.2008 creates a constant CPU-load of 13% on my Core i7 960. Older PC's go up to 100%! With 1001 it was at 0%. Please fix it!
Code:
((UltraCalcManager)mGrid.CalcManager).CalcFrequency = CalcFrequency.Asynchronous;
col = mGrid.DisplayLayout.Bands[0].Columns.Add(
col.Formula =
col.DataType =
col.Format =
Hello Masch,
Thanks for provided information, but are you able to send us sample that reproduce this issue, because using only these settings (from your post) , I`m not able to catch mentioned issue. Could you please tell me what kind of software, are you using to watch the processor (Task Manager, ANTS or ....)
Please let me know if you have any questions.
Regards
Hi Georgi,
I'm using the Task Manager.
I'm using the UltraCalcManager in about 10 different grids in the same manner, but the load is only in 2 grids present. I haven't yet found out what the cause is, but after commenting out the posted lines the load is at 0%.
I can try to isolate the problem and build a sample, but it will take some time, because the code is used in an ERP-System, and I'm not sure if it will hapen in isolated environement.
In an other grid the load is only at 3%, which is not noticable on a modern multicore, maybe other poeple have the same issue, but don't notice it...
Manuel
Hello Manuel,
Thanks for provided information, but it is very difficult for us to guess what could be the reasons for this behavior without sample or steps which reproduce it. Are you using multiple threads in your application ?
If you send us a sample, I`ll be glad to research it for you. Let me know if you have any questions.
Thanks for provided information and we really will appreciate your efforts if you provide us sample that reproduce this issue.
I`ll wait your response and please do not hesitate to write us if you have any questions
At the moment I don't have the resources to isolate the problem and to build a sample, sorry, I went back to release 1001 where all is fine. I'll try to build a sample when I have some free time.
The application is single threaded in this part.
I found out that the CPU-load depends directly on the parameter AsynchronousCalcInterval. It seems like something is triggering a recalculation all the time, I hope this helps.