Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ps.virtual_memory(); #1

Open
AndreZeug opened this issue Jun 24, 2022 · 1 comment
Open

ps.virtual_memory(); #1

AndreZeug opened this issue Jun 24, 2022 · 1 comment

Comments

@AndreZeug
Copy link

AndreZeug commented Jun 24, 2022

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"

@AlDanial
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants