Jump to content
Software FX Community

Memory Problem with Chart FX


shatru

Recommended Posts

Hi Guru's, 

I am using the ChartFX for .NET in my MFC Application. Application is having the GUI which is made up of all Bitmap's & Chart FX ...

If I run my application for some longer period say 4-5 hour continuously , my virtual memory is growing continuously ( from 2 MB - 300 MB ).

But in bitween if I just minimize the application my virtual memory get reduced ( come back to 2 MB ) & on maximize it start growing once again...

I suspect it's because of chartFX is holding chart data in the memory...

Thanks in advance...

Regards,

Shatrughan 

Link to comment
Share on other sites

Hi frank,

thank you for the reply..

As our application(GUI) is an MFC mdi done in VC++ , it doesnot have a garbage collector.

Our application is full of bitmaps and chartfx charts. These bitmaps are attached and DC memory is released properly.

When there is no data in charts there is no much increase in memory consumed but when charts are getting plotted memory is drastically getting increased.

But when application is minimized memory consumed is getting reduced and after maximizing it starts increasing again (huge variation 300 to 2 MB).

We are struck with this problem.. Is this an isssue with charts and is there any way of refreshing charts without loosing data.. please help

thanks

Shartughan

 

Link to comment
Share on other sites

Even though your app is in MFC, you are using Chart FX for .NET and therefore using the .NET framework.

Is this memory consumption causing a problem or are you just concerned about it?

Like I said the .NET framework has very aggressive memory handling if the memory is free it will use it.

There is nothing we do when you minimize your app.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...