多处理池工作者不执行任务

时间:2018-03-27 19:34:02

标签: python python-2.7

我想使用Python的多处理功能在Cassandra DB上执行批量加载。但是,工作池不执行映射功能并保持空闲状态。

注意:我能够使用相同的代码执行中型输入的先前案例,即1GB ca.但这次我的输入数据超过2.5GB。

注意:我有4个vcores,16GB RAM,我试图执行代码。

以下是示例代码。

    p_w = parent.width()
    p_h = parent.height()
    pos_y = int((p_h - child.height()) / 2)
    pos_x = int((p_w - child.width()) / 2)
    child.move(pos_x, pos_y)

0 个答案:

没有答案
相关问题