MemoryError

Hi,
I made an app with 4 sections handled by radio-button menu. One of the section display charts from data file (.csv).
I was trying to visualize two charts in the same page. I ensured that i put @st.cache in my data loading function.
However when i access the charts menu it loads a while and displays sometime : MemoryError
I would need some help on that level.
Thanks