Skip to content

big.matrix fails on M1pro Mac #112

Description

@dajreiss

Trying to use bigkmeans on my M1pro Macbook Pro with 32GB of RAM on MacOS Monterey.

Calling big.matrix(x) for a matrix of any size does not return (freezes), unless I set shared=FALSE.

Pressing Ctrl-C aborts the call with the following error:

libc++abi: terminating with uncaught exception of type boost::interprocess::interprocess_exception: Interrupted system call
Abort

I can continue using shared=FALSE however operations such as bigkmeans contain many big.matrix calls with the default shared=TRUE and so I get the same result when calling bigkmeans.

Possibly this is an issue for bigkmeans to allow a user to send shared=FALSE to all big.matrix calls within that function.

Below are my R, library and system information:

R version 4.2.0 (2022-04-22) -- "Vigorous Calisthenics"
Copyright (C) 2022 The R Foundation for Statistical Computing
Platform: aarch64-apple-darwin20 (64-bit)

bigmemory version: 4.6.1
biganalytics version: 1.1.21

> Sys.info()
                                                                                                 sysname
                                                                                                "Darwin"
                                                                                                 release
                                                                                                "21.3.0"
                                                                                                 version
"Darwin Kernel Version 21.3.0: Wed Jan  5 21:37:58 PST 2022; root:xnu-8019.80.24~20/RELEASE_ARM64_T6000"
                                                                                                 machine
                                                                                                 "arm64"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions