Skip to content

memory functions#1270

Merged
mmatera merged 1 commit intomasterfrom
systemmemoryrelated
Apr 12, 2021
Merged

memory functions#1270
mmatera merged 1 commit intomasterfrom
systemmemoryrelated

Conversation

@mmatera
Copy link
Copy Markdown
Contributor

@mmatera mmatera commented Apr 12, 2021

This tries to address in a very basic level #1258

@mmatera mmatera merged commit 6227ae8 into master Apr 12, 2021
@mmatera mmatera deleted the systemmemoryrelated branch April 12, 2021 01:32
Comment thread mathics/builtin/system.py
try:
import psutil
totalmem = psutil.virtual_memory().total
return Integer(total)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mmatera there is a typo here and below. I believe total should be totalmem which is set on line 476.

I will be addressing this in another PR.

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

Successfully merging this pull request may close these issues.

2 participants