Skip to content

OCR部署分配内存失败 #410

@Liangtian11

Description

@Liangtian11

按照https://www.paddleocr.ai/main/version3.x/deployment/on_device_deployment.html部署

运行run.sh时候报错
WARNING: linker: Warning: "/data/local/tmp/ppocr_demo/libpaddle_light_api_shared.so" unused DT entry: DT_RPATH (type 0xf arg 0x32b1) (ignoring)
terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
Aborted (core dumped)

使用cmake=3.20.0
android-ndk == r20b
8G安卓手机
[dalvik.vm.heapgrowthlimit]: [256m]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions