[ https://issues.apache.org/jira/browse/ARROW-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17662307#comment-17662307 ]
Rok Mihevc commented on ARROW-5285: ----------------------------------- This issue has been migrated to [issue #21753|https://github.com/apache/arrow/issues/21753] on GitHub. Please see the [migration documentation|https://github.com/apache/arrow/issues/14542] for further details. > [C++][Plasma] GpuProcessHandle is not released when GPU object deleted > ---------------------------------------------------------------------- > > Key: ARROW-5285 > URL: https://issues.apache.org/jira/browse/ARROW-5285 > Project: Apache Arrow > Issue Type: Bug > Components: C++, C++ - Plasma, GPU > Affects Versions: 0.13.0 > Reporter: shengjun.li > Assignee: Antoine Pitrou > Priority: Major > Labels: pull-request-available > Fix For: 0.14.0 > > Time Spent: 1h 40m > Remaining Estimate: 0h > > cpp/CMakeLists.txt > option(ARROW_CUDA "Build the Arrow CUDA extensions (requires CUDA toolkit)" > ON) > option(ARROW_PLASMA "Build the plasma object store along with Arrow" ON) > In the plasma client, GpuProcessHandle is never released although GPU object > is deleted. > Thus, cuIpcCloseMemHandle is never called. > When I repeatly creat and delete gpu memory, the following error may occur. > IOError: Cuda Driver API call in > /home/zilliz/arrow/cpp/src/arrow/gpu/cuda_context.cc at line 155 failed with > code 208: cuIpcOpenMemHandle(&data, *handle, > CU_IPC_MEM_LAZY_ENABLE_PEER_ACCESS) > Note: CUDA_ERROR_ALREADY_MAPPED = 208 -- This message was sent by Atlassian Jira (v8.20.10#820010)