Questions about the Large Object Heap size

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
IVCSoft
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2005 4:00 am

Questions about the Large Object Heap size

Post by IVCSoft » Fri Oct 27, 2006 2:28 pm

I was monitoring the .Net memory “Large Object Heap size” when plotting a TeeChart using the HighLow series. When plotting only with a few thousand points, the Large Object Heap size goes down to the initial value (i.e. a low value) after a myHighLow.Clear() call. When plotting with tens of thousand points, the Large Object Heap size does NOT go down to the initial value (i.e. a low value) after a myHighLow.Clear() call. The Large Object Heap size does reduce, but remain as a high number.

My first question is:
Why the myHighLow.Clear() call does not clean the Large Object Heap size largely after plotting a large data set?

The second question is:
Will the remaining high number of the Large Object Heap size affect the speed of loading the next data set?

Thank you,
Michael

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Oct 31, 2006 12:36 pm

Hi Michael,

Code: Select all

Will the remaining high number of the Large Object Heap size affect the speed of loading the next data set? 
Have you tried this? If this is still a problem we will investigate this issue.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

IVCSoft
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2005 4:00 am

Questions about the Large Object Heap size

Post by IVCSoft » Thu Nov 02, 2006 3:24 pm

Hi Narcis,

I can not see your code, and did not understand your reply.

Thanks,
Michael

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Nov 02, 2006 3:30 pm

Hi IVCSoft,

Sorry if I wasn't clear enough. I was asking if you had been able to reproduce what you asked in your second question.

Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

IVCSoft
Newbie
Newbie
Posts: 3
Joined: Wed Jun 22, 2005 4:00 am

Post by IVCSoft » Thu Nov 02, 2006 5:33 pm

Hi Narcis,

Sure. What I observed can be reproduced.

My goal is to speed up the loading and graphing of several High-Low series.

My charting operation involves reading a data file with multiple channels, finding the maximum and minimum, and composing the High-Low series.

Using a single file, I have also observed most of times the first loading/graphing after the fresh start of the application is much slower than those of the second or the third times. Surprisingly, in few tests, the first loading/graphing after the fresh start of the application is just as speedy as the second or later times. How can I attain the speedy performance very time? Can you shed some light on this issue?

All these tests were run on the same computer with the very similar resources. Each loading operation will have the myHighLow.Clear() call in the beginning. What does the myHighLow.Clear() call touch the memory?

Thanks again for your help,
Michael

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Nov 03, 2006 11:24 am

Hi Michael,

Thanks for the information. Then you may be interested in reading this MSDN's article and you can also download Lutz Roeder's .NET Reflector to study individual method calls, ...
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply