Forum Discussion

letitbi's avatar
letitbi
Advocate I
9 years ago
Solved

Power BI in-memory RAM = Overload

Hi,   I'm facing a problem while trying to get data from "OData Connector", trying to get a 100M+ rows dataset. After 45M rows loaded my RAM is overloaded (see screenshot).   How to analyze a hi...
  • v-haibl-msft's avatar
    9 years ago

    letitbi

     

    You can try to use Direct Query instead of Import mode, or try to add extra memory for your computer.

     

    Best Regards,

    Herbert

  • hugoberry's avatar
    9 years ago

    In order to reduce the amount of RAM your Data Model uses you must consider casting the columns to the appropriate data types. Very often a forgotten text column  which actually represents a number would consume all of your RAM in no time.

    Also worth mentioning that the data types that you have in your data model are not necessary reflective of those that you get in your query. That is why checking how your data is structured in your Data Model is a quick win for RAM consumption.

     

    Secondly, depending from where you get your data from you consider changin your M Query. The quick wins here are streaming the data or if you are making any intensive calculations in your queries  Buffer the intermediarry steps.

     

    And finally consider loading the data one query at a time.