Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
145
XamDataChat out of memory exception
posted

I'm running into OutOfMemoryExceptions when assigning 25k rows to the XamDataChart CategoryDateTimeAxis. I know this is a broad question but should I be running into this issue?

FYI: I'm using full dependencyobjects with multiple bindings per VM class in the collection

Parents
  • 30692
    Verified Answer
    Offline posted

    Hmm... why are you using full dependency objects? The chart only requires INotifyPropertyChanged to receive updates from your objects. We've put a LOT more data into CategoryDateTimeXAxis than that before without hitting out of memory exceptions, so there is either something specific to this scenario, or it is more likely all the bindings or dependency objects that are chewing up the memory. I know for a fact that creating lots of individual Bindings can run you out of memory pretty quickly, which is one of the reasons that the Chart does NOT do that internally.

    BTW, a sample project reproducing the issue would help track down the culprit.

Reply Children