Pandas AI平台笔记本电脑:内存错误:无法为阵列分配1.16 GiB-GCP中有100个磁盘空间

Pandas AI平台笔记本电脑:内存错误:无法为阵列分配1.16 GiB-GCP中有100个磁盘空间,pandas,gcp-ai-platform-notebook,Pandas,Gcp Ai Platform Notebook,我正在尝试在GCP AI平台中加载一个1 GB熊猫数据帧,其中包含一个100 GB磁盘和15 GB RAM虚拟机,但出现以下错误: MemoryError: Unable to allocate 1.16 GiB for an array with shape (20, 7762852) and data type object 您知道为什么当虚拟机是一个100GB的磁盘,用于15GB的RAM时,分配不会执行吗 df_event = pd.concat([pd.read_csv(os.getc

我正在尝试在GCP AI平台中加载一个1 GB熊猫数据帧,其中包含一个100 GB磁盘和15 GB RAM虚拟机,但出现以下错误:

MemoryError: Unable to allocate 1.16 GiB for an array with shape (20, 7762852) and data type object
您知道为什么当虚拟机是一个100GB的磁盘,用于15GB的RAM时,分配不会执行吗

df_event = pd.concat([pd.read_csv(os.getcwd() + '/data/lead_inscrit_train.csv.gz',
                     compression='gzip',
                     sep=';',
                     quotechar='"',
                     quoting=csv.QUOTE_ALL,
                     dtype=str,
                     parse_dates=["date"]
                    ),
                  pd.read_csv(os.getcwd() + '/data/lead_inscrit_test.csv.gz',
                     compression='gzip',
                     sep=';',
                     quotechar='"',
                     quoting=csv.QUOTE_ALL,
                     dtype=str,
                     parse_dates=["date"]
                    )]
                , axis=0)
尝试更改/proc/sys/vm/overmit_内存并重新启动内核