Skip to content

ps.virtual_memory(); #1

Open
Open

Description

@AndreZeug

Dear Albert,
I enjoyed your presentation in MatlabExpo2022 quite a bit.
Using Win10 & R2022a and comparing memory values obtaind by Python and Matlab by
%% All executed in Matlab
% Matlab
sysMem = memory
% Python
ps = py.importlib.import_module('psutil');
mem = ps.virtual_memory()

can you please explain the differences between Python's double(mem.available) and Matlabs sysMem.MemAvailableAllArrays?

PS: sorry, I was not able to put the first block of code into a single block and using "newline"

Activity

  1. AlDanial commented on Jun 25, 2022

    @AlDanial
    Collaborator

    hi, I work almost exclusively in Linux and so only rarely use (or have the opportunity to use) memory in MATLAB. The next time I'm on a Windows computer I'll give it a try and compare the results.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions